wait_for_approval
Blocks an agent until a human approves or denies a proposed action, the request expires, or a timeout occurs; a timeout returns pending and must be treated as not approved.
Instructions
Block until a human decides the request, it expires, or the timeout elapses. Returns the final (or still-pending) request. A timeout returns status 'pending': treat it as NOT approved.
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) |