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:918

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:929

Final parsed input arguments (TanStack AI internal)


model?

ts
optional model: string;
optional model: string;

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

Model identifier for multi-model support


result?

ts
optional result: string;
optional result: string;

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

Tool execution result (TanStack AI internal)


toolCallName?

ts
optional toolCallName: string;
optional toolCallName: string;

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

Name of the tool that completed


toolName?

ts
optional toolName: string;
optional toolName: string;

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

Deprecated

Use toolCallName instead. Kept for backward compatibility.