get_approval
Poll a queued approval by approval_id to check whether a mutating tool action is pending, executed, failed, rejected, or expired.
Instructions
Poll one queued approval by the approvalId a mutating tool returned with status pending_approval. Returns its current state: pending (still waiting for a person), executed (approved and performed — resultStatus / resultBody carry the outcome of the original call), failed (approved but the replay failed), rejected, or expired. Poll with wait_seconds between calls, backing off to 30-60s; a decision can take minutes or hours, so after a few polls tell the user you will check back and stop polling unless they ask you to wait.
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": "get_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approval_id | Yes | The approvalId returned with pending_approval. |