Start a quote from CAD files
upload_cad_for_quoteUse this when the user wants a custom part made or quoted from CAD: a STEP or STP file for CNC machining, sheet metal or injection molding, or a wire-harness spec in JSON. First step of the quoting flow. Needs the path of each file on the user's machine: if you do not have one, ask the user for it; never make up a file name. Returns one curl command per file that uploads it to Maglev (up to 20 MB) and how it will be routed. Run each command with your shell tool; with no shell, give the commands to the user to run. Each upload prints a file_id; pass the file_ids to check_manufacturability and get_quotes. Requires a Maglev API key. Not for off-the-shelf parts: use search_parts.
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_names": "<file_names>"
},
"name": "upload_cad_for_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_names | Yes | Local file names or paths, e.g. ["bracket_sheetmetal.step"] |