Skip to content

Interface: ToolRunOptions

Defined in: packages/sdk/src/renderer/chat-driver.ts:39

The ambient options passed as the second argument to a tool's execute / confirm. The model's typed input is the first argument (matching the AI SDK); everything here is provided by the runtime.

Properties

PropertyModifierTypeDescriptionDefined in
textreadonlystringThe raw user message that triggered this turn.packages/sdk/src/renderer/chat-driver.ts:41
agentreadonlyAgentFnRun a nested subagent (e.g. to draft a plan); ctx is already bound.packages/sdk/src/renderer/chat-driver.ts:43

Matterway Assistant SDK Documentation