onshape_export_stl
Exports a Part Studio or individual part as a binary STL file and saves it to a specified local output path for CAD-to-3D-printing workflows.
Instructions
Export a Part Studio (or a single part) as binary STL and save it to output_path on this machine.
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": {
"did": "<did>",
"wvm": "<wvm>",
"wvmid": "<wvmid>",
"eid": "<eid>",
"output_path": "<output_path>"
},
"name": "onshape_export_stl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| did | Yes | ||
| eid | Yes | ||
| wvm | Yes | ||
| units | No | millimeter | |
| wvmid | Yes | ||
| part_id | No | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |