Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

ToolCallEndEvent.md

86 lines1.7 KB

Interface: ToolCallEndEvent

Defined in: packages/typescript/ai/src/types.ts:1028

Emitted when a tool call completes.

@ag-ui/core provides: toolCallId TanStack AI adds: model?, toolCallName?, toolName? (deprecated), input?, result?

Extends

  • ToolCallEndEvent

Indexable

[k: string]: unknown

Properties

input?

optional input: unknown;

Defined in: packages/typescript/ai/src/types.ts:1039

Final parsed input arguments (TanStack AI internal)


model?

optional model: string;

Defined in: packages/typescript/ai/src/types.ts:1030

Model identifier for multi-model support


result?

optional result: string;

Defined in: packages/typescript/ai/src/types.ts:1041

Tool execution result (TanStack AI internal)


toolCallName?

optional toolCallName: string;

Defined in: packages/typescript/ai/src/types.ts:1032

Name of the tool that completed


toolName?

optional toolName: string;

Defined in: packages/typescript/ai/src/types.ts:1037

Deprecated

Use toolCallName instead. Kept for backward compatibility.