Open History to see the last commit
Interface: ToolCall<TMetadata>#
Defined in: packages/typescript/ai/src/types.ts:135
Type Parameters#
TMetadata#
TMetadata = unknown
Properties#
function#
function: object;
Defined in: packages/typescript/ai/src/types.ts:138
arguments#
arguments: string;
name#
name: string;
id#
id: string;
Defined in: packages/typescript/ai/src/types.ts:136
metadata?#
optional metadata: TMetadata;
Defined in: packages/typescript/ai/src/types.ts:145
Provider-specific metadata to carry through the tool call lifecycle.
Typed per-adapter via TToolCallMetadata. For example,
@tanstack/ai-gemini sets this to { thoughtSignature?: string }.
type#
type: "function";
Defined in: packages/typescript/ai/src/types.ts:137