ToolCallStartContext
Agent Runtimes / types/chat / ToolCallStartContext
Interface: ToolCallStartContext
Defined in: src/types/chat.ts:30
Context passed to tool-call pre-hooks. Fires when a tool call starts executing (backend or frontend).
Properties
args
args:
Record<string,unknown>
Defined in: src/types/chat.ts:36
Arguments passed to the tool
toolCallId
toolCallId:
string
Defined in: src/types/chat.ts:34
Unique identifier for this tool invocation
toolName
toolName:
string
Defined in: src/types/chat.ts:32
The tool name as declared by the agent