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
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 aSimulationResult describing the expected transaction outcome.