Enabling Approvals
Configure approval on a tool:Approval Flow
- The agent decides to call an approval-gated tool
- An
APPROVAL_REQUIREDevent is streamed to the client - Execution pauses until a human approves or denies
- On approval → tool executes and the agent continues
- On denial → the agent receives the denial and adjusts
- On timeout → the request expires