sw_save
Saves SolidWorks parts, assemblies, or drawings as native .sldprt, .sldasm, or .slddrw files, with optional document, path, and overwrite controls.
Instructions
Save as a native SolidWorks file (.sldprt / .sldasm / .slddrw).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sw_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Document title or path. Defaults to the active document. | |
| path | No | File name (output folder) or full path in an allowed folder. | |
| overwrite | No | Replace an existing file (the user is asked first). |