download_file
Saves a Cliff file (upload, decomposed part, or converted model) to your computer and returns its local path for CAD tools. Requires an API key; can also return just the link if no folder is set.
Instructions
Save one of your files (an upload, a decomposed assembly's part, a converted model) to this computer and return its path, to open in your CAD tool. Needs an API key.
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": {
"file_id": "<file_id>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The file's id (file_...). | |
| save_to | No | A folder on this computer to save the file in (default: CLIFF_MCP_DOWNLOADS, else ~/Downloads/Cliff). Set save_to to an empty string to only get the link. |