convert_file
Convert uploaded STEP files to STL, OBJ, or 3MF meshes, or turn mesh files into STEP for CAD export workflows. Returns the new file link and saves a copy unless save_to is empty.
Instructions
An uploaded model in another format ('step', 'stl', 'obj' or '3mf'), as Cliff CAD exports it, without planning
it: STEP to a mesh, a mesh to STEP. Native CAD (SolidWorks, ...) is not read: export STEP from your CAD. Returns the new file (its links.content has the bytes). A mesh made into
STEP stays faceted. Needs an API key. Saved to this computer, its path returned, unless save_to is ''.
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>",
"to": "<to>"
},
"name": "convert_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| file_id | Yes | ||
| 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. |