wait_for_approval
Blocks until a human approves or denies a registered action, or the request expires; a timeout returns pending, so call consume_approval before proceeding.
Instructions
Block until a human decides the request, it expires, or the timeout elapses. Returns the final (or still-pending) request. Informational only; it never authorizes execution. A timeout returns 'pending' (not approved). After 'approved', call consume_approval and proceed only on ok:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The request id returned by request_approval | |
| poll_seconds | No | Polling interval | |
| timeout_seconds | No | Maximum time to wait (default 5 minutes) |