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

ToolCallResultEvent

Interface: ToolCallResultEvent

Defined in: packages/ai/src/types.ts:1116

Emitted when a tool call result is available.

@ag-ui/core provides: messageId, toolCallId, content, role? TanStack AI adds: model?

Extends

  • ToolCallResultEvent

Indexable

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

Properties

model?

ts
optional model: string;
optional model: string;

Defined in: packages/ai/src/types.ts:1118

Model identifier for multi-model support


state?

ts
optional state: ToolOutputState;
optional state: ToolOutputState;

Defined in: packages/ai/src/types.ts:1120

Tool execution output state (TanStack AI internal)