add_from_onshape
Download parts from an Onshape part studio as millimeter STLs onto a print bed, with options for part selection, copies, and automatic arrangement.
Instructions
Download parts from an Onshape part studio (as millimeter STL) onto a bed. Uses the Onshape API keys from ~/onshape-mcp/.env (each download counts against the user's Onshape API allocation).
Args: url: Onshape URL (document, or document/w//e/). parts: part names to take (default: all solid parts). Case-insensitive. bed: bed name or "new". copies: copies of each part. arrange: re-arrange the bed afterwards.
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": {
"url": "<url>"
},
"name": "add_from_onshape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bed | No | ||
| url | Yes | ||
| parts | No | ||
| copies | No | ||
| arrange | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |