Type Alias References

ToolCallState

Type Alias: ToolCallState

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

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

Tool call states - track the lifecycle of a tool call