open_part
Opens a SolidWorks part or imports STEP/IGES/Parasolid as the current part for feature editing, returning body count and mass properties; set allow_large to import over 30 MB.
Instructions
Open a .sldprt, or import a STEP/IGES/Parasolid file as a new part; it becomes the current part.
list_features shows its history, list_dimensions its dimensions. An imported body has no history, but the tools work on it (holes and pockets on its faces, bosses, fillets); an import returns its solid body count and mass properties. A file holding an assembly is refused, and an import over 30 MB unless allow_large=True (it can outlast the 2-minute call limit).
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": "open_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| allow_large | No |