Open History to see the last commit
Interface: ToolPhaseCompleteInfo#
Defined in: packages/typescript/ai/src/activities/chat/middleware/types.ts:234
Aggregate information passed to onToolPhaseComplete after all tool calls in an iteration have been processed.
Properties#
needsApproval#
needsApproval: object[];
Defined in: packages/typescript/ai/src/activities/chat/middleware/types.ts:245
Tools that need user approval
approvalId#
approvalId: string;
input#
input: unknown;
toolCallId#
toolCallId: string;
toolName#
toolName: string;
needsClientExecution#
needsClientExecution: object[];
Defined in: packages/typescript/ai/src/activities/chat/middleware/types.ts:252
Tools that need client-side execution
input#
input: unknown;
toolCallId#
toolCallId: string;
toolName#
toolName: string;
results#
results: object[];
Defined in: packages/typescript/ai/src/activities/chat/middleware/types.ts:238
Completed tool results
duration?#
optional duration: number;
result#
result: unknown;
toolCallId#
toolCallId: string;
toolName#
toolName: string;
toolCalls#
toolCalls: ToolCall<unknown>[];
Defined in: packages/typescript/ai/src/activities/chat/middleware/types.ts:236
Tool calls that were assigned to the assistant message