Defined in: types.ts:844
Emitted when a tool call starts.
optional index: number;optional index: number;Defined in: types.ts:853
Index for parallel tool calls
optional model: string;optional model: string;Defined in: types.ts:756
Model identifier for multi-model support
optional parentMessageId: string;optional parentMessageId: string;Defined in: types.ts:851
ID of the parent message that initiated this tool call
optional providerMetadata: Record<string, unknown>;optional providerMetadata: Record<string, unknown>;Defined in: types.ts:855
Provider-specific metadata to carry into the ToolCall
optional rawEvent: unknown;optional rawEvent: unknown;Defined in: types.ts:758
Original provider event for debugging/advanced use cases
timestamp: number;timestamp: number;Defined in: types.ts:754
toolCallId: string;toolCallId: string;Defined in: types.ts:847
Unique identifier for this tool call
toolName: string;toolName: string;Defined in: types.ts:849
Name of the tool being called
type: "TOOL_CALL_START";type: "TOOL_CALL_START";Defined in: types.ts:845