revoke
Revoke an access grant using the same parameters as grant. Marks the grant as ended while preserving the historical record for audit.
Instructions
End a grant -- same arguments as grant. Effective on the NEXT read.
It DELETES NOTHING: the owner keeps every record, any other agent's independent grant is untouched (a
different granter or grantee is a different grant), and the withdrawn grant stays in grant_log() as
evidence that the access existed and ended. was_granted in the result says whether a live grant was
actually retired or you revoked something that had never been given.
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": {
"agent": "<agent>"
},
"name": "revoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | ||
| ids | No | ||
| key | No | ||
| tag | No | ||
| note | No | ||
| agent | Yes | ||
| scope | No |