Defined in: types.ts:254
optional approval: object;
optional approval: object;
Defined in: types.ts:261
Approval metadata if tool requires user approval
optional approved: boolean;
optional approved: boolean;
id: string;
id: string;
needsApproval: boolean;
needsApproval: boolean;
arguments: string;
arguments: string;
Defined in: types.ts:258
id: string;
id: string;
Defined in: types.ts:256
name: string;
name: string;
Defined in: types.ts:257
optional output: any;
optional output: any;
Defined in: types.ts:267
Tool execution output (for client tools or after approval)
state: ToolCallState;
state: ToolCallState;
Defined in: types.ts:259
type: "tool-call";
type: "tool-call";
Defined in: types.ts:255
