Revoke a route grant
arobi_revoke_grantSeal a hash-chained ROUTE_REVOKE record to end a route grant before it expires so authorization checks deny it with GRANT_REVOKED. Unsigned, mismatched, expired or already revoked grants are refused.
Instructions
End a route grant this server sealed before it expires: seal a hash-chained ROUTE_REVOKE record and return route_revoke. From then on arobi_authorize DENIES the grant (GRANT_REVOKED). A grant that is unsigned, signed by another key, sealed with revocable: false, expired or already revoked is REFUSED with a reason code, and nothing is sealed. Like the signing key, a revocation lasts for this server run.
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": {
"route_grant": "<route_grant>"
},
"name": "arobi_revoke_grant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional. Why the grant is revoked, up to 2,000 characters; carried in the ROUTE_REVOKE record. | |
| route_grant | Yes | The route_grant to revoke, exactly as arobi_route_grant returned it in this server run. |