get_approval
Retrieve the current state of an approval request to verify if a dangerous mutation is allowed. Returns pending, approved, denied, or expired.
Instructions
Get the current state of an approval request. status = pending / approved / denied / expired. Do not perform the target operation unless the status is approved (default-deny). Dangerous mutation tools also support server-side consumption via their approvalId param (see the request_approval description).
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>"
},
"name": "get_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approvalId | Yes | The id returned by request_approval (starts with apr_) |