Approve a request
approve_requestRecord this user's approval on a request that is waiting on their decision. This is a decision of record with real financial and operational consequences: always show the user what they are approving and get explicit confirmation in the same turn before calling. Fails if the user is not the current approver. Two-step: call with confirmed=false (the default) first for a preview with NOTHING recorded yet; call again with confirmed=true to record it. A confirmed=true call with no matching preview from this connection in the last 10 minutes is run as the preview instead, and writes nothing. One preview admits one attempt, so a call that fails needs a new one. If the server cannot reach its preview store it does not hold the call back, so always preview first regardless. A preview also lapses once the request changes, someone else's decision on it included, so the next call previews it again.
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": {
"ar_identifier": "<ar_identifier>"
},
"name": "approve_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional note recorded alongside the approval. | |
| confirmed | No | false (default) returns a preview of what would be approved and does NOTHING. true approves it. Preview, show the user, wait for their yes, then call again with true. | |
| ar_identifier | Yes | The approval request to approve — friendly number like 'AR-15' / '15' or the internal integer id. |