upload_file
Upload a CAD model or PDF print from your computer by file path to quote it, split it into parts, or send it to a shop; returns the uploaded file ID.
Instructions
Upload a model (STEP, STL, OBJ, 3MF, or native CAD) or a PDF print from this computer, to quote it, split it into its parts or send it to a shop. path is the file's path ('~/Desktop/Bracket.step'); name, if given, is what to call it (default: the file's own name). From SolidWorks or any CAD tool: save or export STEP, then upload that path. Returns its file id. 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": {
"path": "<path>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | What to call it (default: the file's own name). | |
| path | Yes | The file's path on this computer. |