Defined in: types.ts:180
optional approval: object;
optional approval: object;
Defined in: types.ts:187
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:184
id: string;
id: string;
Defined in: types.ts:182
name: string;
name: string;
Defined in: types.ts:183
optional output: any;
optional output: any;
Defined in: types.ts:193
Tool execution output (for client tools or after approval)
state: ToolCallState;
state: ToolCallState;
Defined in: types.ts:185
type: "tool-call";
type: "tool-call";
Defined in: types.ts:181
