Review an approval request
review_approvalApprove, reject or withdraw one pending approval request.
When to use:
This connection's person is an approver and a request is waiting (list_items kind approvals; read it with get_items kind approvals).
Cancelling a request that is no longer wanted, or one left behind by a person who has gone: withdraw.
When NOT to use:
Editing the content: use update_items (an edit opens a new request).
What to know:
approve airs the content where it is assigned, at once; reject keeps it off screens; withdraw closes the request with no decision and puts the content back to draft. Each is final.
approve and reject need this connection's person to be an approver in the request's chain; withdraw needs the requester or such an approver. Otherwise the call is refused.
Parameters:
approvalId: an ar_… id from list_items kind approvals.
reason: required with reject and shown to the requester word for word; with approve, an optional note; ignored with withdraw.
Example: {approvalId:"ar_12", decision:"reject", reason:"Price on slide 2 is wrong."}.
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": {
"approvalId": "<approvalId>",
"decision": "<decision>"
},
"name": "review_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | A note for the person who asked. They see it with the decision. A rejection needs it; left out of an approval, the decision carries no note. | |
| decision | Yes | The outcome for the request. Each outcome is final. | |
| approvalId | Yes | The approval request to act on. Ids come from list_items kind approvals. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | The requester's note. | |
| state | No | Its state now: pending (more levels must approve), approved, rejected or withdrawn. | |
| levels | No | Every level the request must pass, in order. | |
| nodeId | No | Id of the location the request belongs to. | |
| changes | No | What the request would change, as the requester sent it. | |
| nodeName | No | Name of that location. | |
| contentId | No | Id of that content. | |
| decidedAt | No | ISO 8601 time of the last decision. | |
| decisions | No | The decisions made so far, in order. | |
| approvalId | No | The approval request that was decided. | |
| contentKind | No | Kind of the content the request is about. | |
| contentName | No | Name of that content. | |
| requestedAt | No | ISO 8601 time it was asked for. | |
| currentLevel | No | The approval level that decides next, counted from 0. | |
| decisionNote | No | The reason or note given with the last decision. | |
| decidedByName | No | Who made the last decision. | |
| requestedByName | No | Who asked for the approval. |