decompose_file
Splits a CAD assembly STEP file into distinct parts, identifies stock items and quantities, exports individual STEP files, and checks manufacturability by milling, turning, sheet, or printing.
Instructions
An assembly (a STEP export from SolidWorks, Fusion, Onshape, Inventor...) split into its parts: each distinct
part once with how many the assembly uses, the stock part its name says it is (a Toolbox screw, a bearing by number
or size) with the words it was read from, each other part as its own uploaded STEP file, and Cliff's check of it as
milled, turned, sheet and printed (can it, what blocks it, Cliff's estimate). bom_lines go to price_bom once you
add each made line's process and material (choose from its processes; ask the person when the material matters).
Read once and kept. 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": "decompose_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes |