tc_rename_item
Rename a folder or file in a Trimble Connect project. Provide project ID, item ID, and new name to update the item's name.
Instructions
Rename a folder or a file.
Requires TC_ENABLE_WRITE=1. Renaming and moving must be separate calls — the API ignores the new name if a new parent is sent at the same time.
Args: project_id: Project ID. item_id: Folder or file ID. new_name: New name. item_type: "FOLDER" (default) or "FILE".
Returns: {"renamed": true, "id", "name", ...}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| new_name | Yes | ||
| item_type | No | FOLDER | |
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |