Check an approval request
approvals_getReturns one approval and what became of it. pending: still waiting for a person. approved: a person approved it and Prubex is carrying it out; check again shortly. executed: Prubex did it (result.event_id for calendar actions; sends report no message id); for a feedback_suggest suggestion, it was emailed to Tech Mage. rejected: see decision_note. expired or cancelled: nothing happened. failed: approved, but it did not go; result.error and result.code say why. A person may edit a send before approving it, and decision_note then says so. Use it after a pending_approval result to tell the user what happened. Prubex performs approved actions itself: never resend one, and after failed try again only if the user asks. Example: { "approval_id": "apr_…" }.
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": "approvals_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approval_id | Yes | An approval id (`apr_…`) from a pending result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approval | Yes |