Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Class References
Function References
Interface References
Type Alias References
Variable References

ToolCallEndEvent

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

ts
[k: string]: unknown
[k: string]: unknown

Properties

input?

ts
optional input: unknown;
optional input: unknown;

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

Final parsed input arguments (TanStack AI internal)


model?

ts
optional model: string;
optional model: string;

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

Model identifier for multi-model support


result?

ts
optional result: string;
optional result: string;

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

Tool execution result (TanStack AI internal)


toolCallName?

ts
optional toolCallName: string;
optional toolCallName: string;

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

Name of the tool that completed


toolName?

ts
optional toolName: string;
optional toolName: string;

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

Deprecated

Use toolCallName instead. Kept for backward compatibility.