Wait for Approval
wait_for_approvalWait up to 45 seconds for a pending approval. It returns as soon as the user approves, rejects, chooses an option, or replies on the review screen. If the result remains pending, call this tool again with the same ID. When the status is replied, the reply field holds the user's instructions: follow them instead of running the original operation.
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 |
|---|---|---|---|
| approval_id | Yes | approval_id returned by request_approval. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approval | Yes | ||
| next_action | No |