Open History to see the last commit
Defined in: packages/ai/src/types.ts:1704
Emitted when a tool call starts.
@ag-ui/core provides: toolCallId, toolCallName, parentMessageId?,
subagentRunId?
Extends#
Omit<AGUIToolCallStartEvent,"type">
Properties#
metadata?#
optional metadata?: Record<string, any>;
Defined in: packages/ai/src/types.ts:1712
Provider-specific metadata to carry into the ToolCall.
Overrides#
Omit.metadata
toolName?#
optional toolName?: string;
Defined in: packages/ai/src/types.ts:1710
Alias of toolCallName. Kept so existing stream readers still compile.
type#
type: "TOOL_CALL_START";
Defined in: packages/ai/src/types.ts:1708