tc_upload_file
Upload a new file to a Trimble Connect folder from your local disk. Use when the file does not already exist in the destination folder.
Instructions
Upload a NEW file from the local disk into a Trimble Connect folder.
Fails if a file with the same name already exists in that folder — use tc_upload_new_version to add a revision instead. Requires TC_ENABLE_WRITE=1.
Args: project_id: Project ID. folder_id: Destination folder ID (tc_list_folder / tc_folder_tree). local_path: Full path of the file on this computer. name: Optional name to use in Trimble Connect (default: file name).
Returns: {"uploaded": true, "file_id", "version_id", "revision", "name", "size_bytes"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| folder_id | Yes | ||
| local_path | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |