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