Defined in: types.ts:284
optional approval: object;
Defined in: types.ts:291
Approval metadata if tool requires user approval
optional approved: boolean;
id: string;
needsApproval: boolean;
arguments: string;
Defined in: types.ts:288
id: string;
Defined in: types.ts:286
name: string;
Defined in: types.ts:287
optional output: any;
Defined in: types.ts:297
Tool execution output (for client tools or after approval)
state: ToolCallState;
Defined in: types.ts:289
type: "tool-call";
Defined in: types.ts:285