Skip to main content
This page documents high-value types used across the ILLA SDK, Chat, and polling APIs.

Core request/response types

ChatOptions

SendMessageOptions

SendMessageStreamingOptions

SendMessageResult

Context and persistence

IContextManager

Key methods:
  • getContext(chatId)
  • setMessages(chatId, messages)
  • appendMessages(chatId, messages)
  • setToolsConfig(chatId, toolsConfig)
  • clearContext(chatId)
  • deleteContext(chatId)

ChatContextSnapshot

Polling and async action types

AsyncToolCheckerCheckParams

AwaitableActionDescriptor

Alias used by awaitAction:

PollingConfig

All polling values are seconds.

EventSubscription

Pending tool payload

PendingToolCallType includes optional simulation metadata and multiple executable input shapes:

ActionSequence

An ordered array of steps that must be executed sequentially. Each step can be a SingleTransaction, BatchTransactions, or SignatureRequests.

SignatureRequest

Discriminated union based on signMethod:

Simulation types

When simulation is enabled server-side, pending tools may include a SimulationResult describing the expected transaction outcome.

SimulationResult

AssetChange

GasEstimate

SimulationActionType

ActionMetadata

ContractInteraction

Narrowing result safely

See also