tc_get_file
Get metadata for a file from Trimble Connect, including name, size, revision, and dates. Provide project ID and file ID to receive the raw JSON data.
Instructions
Get metadata of a file (latest version): name, size, revision, dates.
Args: project_id: Project the file belongs to (resolves the region). file_id: File ID (from tc_list_folder).
Returns the raw file JSON from the API.
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>",
"file_id": "<file_id>"
},
"name": "tc_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |