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
Persistence (Advanced)
Embeddings
Reranking
Evaluate
Sandboxes (Advanced)
Class References
Function References
Interface References
Type Alias References
Variable References

ToolCallStartEvent

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

Emitted when a tool call starts.

@ag-ui/core provides: toolCallId, toolCallName, parentMessageId?, subagentRunId?

Extends

  • Omit<AGUIToolCallStartEvent, "type">

Properties

metadata?

ts
optional metadata?: Record<string, any>;
optional metadata?: Record<string, any>;

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

Provider-specific metadata to carry into the ToolCall.

Overrides

ts
Omit.metadata
Omit.metadata

toolName?

ts
optional toolName?: string;
optional toolName?: string;

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

Alias of toolCallName. Kept so existing stream readers still compile.


type

ts
type: "TOOL_CALL_START";
type: "TOOL_CALL_START";

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