gateway_admin_revoke_resource
Revoke MCP resource grants by subject or pattern. Use dry_run to preview changes before revoking.
Instructions
Revoke DB-backed MCP resource grants. Requires access:admin; dry_run defaults to true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gateway_admin_revoke_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system | No | ||
| dry_run | No | ||
| grant_id | No | ||
| subject_key | No | ||
| subject_type | No | ||
| resource_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |