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

ToolCallState

Type Alias: ToolCallState

ts
type ToolCallState = 
  | "awaiting-input"
  | "input-streaming"
  | "input-complete"
  | "approval-requested"
  | "approval-responded"
  | "complete";
type ToolCallState = 
  | "awaiting-input"
  | "input-streaming"
  | "input-complete"
  | "approval-requested"
  | "approval-responded"
  | "complete";

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

Tool call states - track the lifecycle of a tool call