API Reference
ToolContext
Defined in: tools/tools.types.ts:69
Per-call context the loop passes to a tool's execute handler.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
signal? | AbortSignal | Forwarded from the run so a cooperating handler can abort in-flight work. | tools/tools.types.ts:73 |
toolCallId | string | Identifier of the specific tool call being executed. | tools/tools.types.ts:71 |