Request human approval
request_approvalGet human approval before executing sensitive or irreversible actions. Blocks for a decision and returns the approved payload to use exactly, or aborts on rejection/expiry.
Instructions
Pause and ask a human to approve a sensitive or irreversible action before you perform it (refunds, deletes, deploys, outbound messages, spending money). Blocks until the human approves, rejects, or the wait elapses. If APPROVED, use the returned effectivePayload exactly (the human may have edited it). If REJECTED or EXPIRED, do not perform the action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notify | Yes | Approver email address, or 'group:<key>' to escalate to a group. | |
| payload | No | The exact action as structured data. The human can edit this. | |
| summary | Yes | One line the human reads, e.g. 'Refund $10,000 to customer #4821'. | |
| reasoning | No | Why you want to do this. | |
| agent_name | No | Your name, shown to the approver. | |
| ttl_minutes | No | How long the request stays valid. | |
| wait_minutes | No | How long to block before returning pending (default 15). | |
| recent_actions | No | Your recent steps, for context. |