定义于: types.ts:282
optional approval: object;
定义于: types.ts:289
如果工具需要用户批准,则批准元数据
optional approved: boolean;
id: string;
needsApproval: boolean;
arguments: string;
定义于: types.ts:286
id: string;
定义于: types.ts:284
name: string;
定义于: types.ts:285
optional output: any;
定义于: types.ts:295
工具执行输出(对于客户端工具或在批准后)
state: ToolCallState;
定义于: types.ts:287
type: "tool-call";
定义于: types.ts:283