tc_download_file
Download a file from Trimble Connect to your local disk. Specify project and file IDs, optionally choose a version, rename the file, or set a save directory.
Instructions
Download a file from Trimble Connect to the local disk.
Read-only on the Trimble side; writes only to the local download folder.
Args: project_id: Project the file belongs to. file_id: File ID (from tc_list_folder). version_id: Optional specific version (from tc_list_file_versions); default latest. file_name: Optional name for the saved file; defaults to the file's name from metadata. save_dir: Optional target directory; default TC_DOWNLOAD_DIR (~/Downloads/TrimbleConnect).
Returns: {"saved_to": str, "size_bytes": int}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| save_dir | No | ||
| file_name | No | ||
| project_id | Yes | ||
| version_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |