wait_for_approval
Poll for approval status until the request is approved, denied, or expires. Use to block execution pending human response.
Instructions
Wait for an approval request to be resolved.
Polls the backend until the request is approved, denied, or expired. Returns the final status. Use this when you need to block until the human responds.
Default timeout is 120 seconds with 3-second polling intervals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | The request ID to wait on | |
| timeout_seconds | No | Max seconds to wait (default: 120) | |
| poll_interval | No | Seconds between status checks (default: 3) |