file_permission_revoke
Revoke a file permission grant by its ID; set the group flag for group grants. Requires owner-level access on the item.
Instructions
Take a grant away by its id (a row of file_permissions; group: true for a group's row - the two are numbered apart). Needs owner level on the item.
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": {
"id": "<id>"
},
"name": "file_permission_revoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the grant's id (a row of file_permissions) | |
| group | No | true for a group's grant (a row with kind: group) - the two are numbered apart |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | the operation's JSON answer - the body its REST twin under /api/ai answers (an object) | |
| status | Yes |