tc_get_permissions
Retrieve the access control list for a folder or file in a Trimble Connect project, showing read, full, and no access permissions and inheritance status.
Instructions
Read the access control list (ACL) of a folder or file.
Args: project_id: Project ID. item_id: Folder or file ID. item_type: "FOLDER" (default) or "FILE".
Returns: {"acl": {"READ": [ids], "FULL_ACCESS": [ids], "NO_ACCESS": [ids]}, "inheritance": bool, ...}. Ids are project user ids (tc_list_project_members) or group ids (tc_list_groups); the special id "tc-groups:*" means all project members. Files support only READ and FULL_ACCESS.
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>"
},
"name": "tc_get_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| item_type | No | FOLDER | |
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |