Run an approved request
guardian_claimClaim an approved ASK request to execute the held tool call once with its original arguments and return the execution record; unapproved, expired, or unknown requests are denied.
Instructions
Run a request that guardian_invoke_tool held as ASK, once the person has approved it in Guardian. Guardian issues the capability and runs the approved call with its original arguments (it can change the target system), then returns ALLOW with the execution record. Before approval it returns ASK again and runs nothing; a denied, expired or unknown requestId returns DENY with a reasonCode; Guardian unreachable fails closed (SERVICE_UNAVAILABLE) and can be retried. An approval is used once: claiming the same requestId again does not run the call a second time.
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": {
"requestId": "<requestId>"
},
"name": "guardian_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes | The requestId that guardian_invoke_tool returned with decision ASK. Starts with req_. |