Appearance
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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
text | readonly | string | The raw user message that triggered this turn. | packages/sdk/src/renderer/chat-driver.ts:41 |
agent | readonly | AgentFn | Run a nested subagent (e.g. to draft a plan); ctx is already bound. | packages/sdk/src/renderer/chat-driver.ts:43 |