tc_folders
Browse, create, rename, delete folders and manage their versions and permissions in Trimble Connect projects.
Instructions
Trimble Connect Folders: browse, create, rename, delete, versions, permissions. Select the endpoint with the "action" parameter. Path placeholders {projectId}/{id}/{subId}/{extraId}/{version} are filled from the matching input parameters. Actions:
get: GET /folders/{id} — id=folderId
items: GET /folders/{id}/items — id=folderId (use project rootId for root)
items_v21: GET /2.1/folders/{id}/items — id=folderId (paged v2.1 API)
items_by_path: GET /folders/by_path — query: {projectId, path}
items_by_path_v21: GET /2.1/folders/by_path — query: {projectId, path} (paged v2.1 API)
item_by_name: GET /folders/{id}/item — id=folderId, query: {name}
create: POST /folders — body: {name, parentId}
update: PATCH /folders/{id} — id=folderId, body: {name?, parentId?}
delete: DELETE /folders/{id} — id=folderId
delete_async: DELETE /folders/{id}/delete — id=folderId (async deletion job)
deletion_job_status: GET /folders/jobs/{id} — id=jobId
versions: GET /folders/{id}/versions — id=folderId
versions_v21: GET /2.1/projects/{projectId}/folders/{id}/versions — id=folderId (paged v2.1 API)
permissions_get: GET /folders/fs/{id}/permissions — id=folderId
permissions_patch: PATCH /folders/fs/{id}/permissions — id=folderId, body: permissions
permission_add: POST /folders/{id}/permissions — id=folderId, body: permission
permission_update: PATCH /folders/{id}/permissions — id=folderId, body: permission
permission_remove: DELETE /folders/{id}/permissions — id=folderId, body: permission to remove
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Primary resource ID — required when the action path contains {id} | |
| body | No | JSON request body for POST/PUT/PATCH (and some DELETE) actions | |
| query | No | Query parameters as key-value pairs | |
| subId | No | Secondary resource ID — required when the action path contains {subId} | |
| action | Yes | Endpoint to call (see tool description) | |
| region | Yes | Trimble Connect region: us (North America), eu (Europe), ap (Asia-Pacific), ap-au (Australia) | |
| extraId | No | Tertiary resource ID — required when the action path contains {extraId} | |
| version | No | Version number — required when the action path contains {version} | |
| projectId | No | Project ID — required when the action path contains {projectId} | |
| bcfVersion | No | BCF API version for BCF actions (default 2.1) |