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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "wait_for_approval"
}
}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) |