Defined in: types.ts:282
optional approval: object;
optional approval: object;
Defined in: types.ts:289
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:286
id: string;
id: string;
Defined in: types.ts:284
name: string;
name: string;
Defined in: types.ts:285
optional output: any;
optional output: any;
Defined in: types.ts:295
Tool execution output (for client tools or after approval)
state: ToolCallState;
state: ToolCallState;
Defined in: types.ts:287
type: "tool-call";
type: "tool-call";
Defined in: types.ts:283
