Defined in: packages/ai/src/types.ts:1583
Native interrupts use RUN_FINISHED interrupt outcomes. This compatibility event remains readable until 1.0.
optional metadata?: Record<string, any>;Defined in: packages/ai/src/types.ts:1531
Extra information attached to this event.
name: "approval-requested";Defined in: packages/ai/src/types.ts:1584
What this custom event is. Required: without it a consumer cannot route the value.
CustomEvent.nametype: "CUSTOM";Defined in: packages/ai/src/types.ts:1530
value: object;Defined in: packages/ai/src/types.ts:1585
The payload. Any JSON value, and required.
approval: object;id: string;needsApproval: true;input: unknown;toolCallId: string;toolName: string;CustomEvent.value