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", ...}
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>",
"new_name": "<new_name>"
},
"name": "tc_rename_item"
}
}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 |