Wait for Approval
wait_for_approvalLong-poll an approval request until the human decides or it expires. Returns the status and, once decided, the chosen option.
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": {
"approval_id": "<approval_id>"
},
"name": "wait_for_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Seconds to hold the request open (server-capped). | |
| approval_id | Yes | Approval request id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Purpose-built PingRoom result with credential and account fields removed. |