tc_remove_permissions
Removes specified users or groups from a file or folder's access control list, so they lose direct permissions and inherit access from the parent item. Requires confirmation to prevent accidental changes.
Instructions
Remove users/groups from a folder's or file's ACL entirely.
They fall back to whatever the parent folder / project grants them. To actively BLOCK someone instead, use tc_grant_permissions with level="NO_ACCESS". Requires TC_ENABLE_WRITE=1 AND confirm=true.
Args: project_id: Project ID. item_id: Folder or file ID. subject_ids: User/group ids to drop from the ACL. confirm: Must be true — safety gate. item_type: "FOLDER" (default) or "FILE".
Returns: {"updated": true, "acl": {...}, "removed": [ids]}
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": {
"project_id": "<project_id>",
"item_id": "<item_id>",
"subject_ids": "<subject_ids>"
},
"name": "tc_remove_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| item_id | Yes | ||
| item_type | No | FOLDER | |
| project_id | Yes | ||
| subject_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |