save_body_as_part
Extract a named solid body from the active multibody SOLIDWORKS part and save it as a standalone .sldprt file at a specified path.
Instructions
Extract one solid body from the active multibody part to a new file.
Runs SolidWorks' Save Bodies on a single named body, writing a
standalone part to file_path. The body is matched by name against
the active part's solid bodies; the response lists every solid body
found, so an unknown name reports the real options. Success is
confirmed by the file existing on disk 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": {
"input_data": "<input_data>"
},
"name": "save_body_as_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The body name and target path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||