close_part
Closes the current SolidWorks part or assembly, optionally saving changes first, and blocks closing an active document with unsaved changes when no current document exists.
Instructions
Close the current part or assembly without saving (export/save first if needed).
With no current document it closes SolidWorks' active one, but only when that has no unsaved changes.
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": "close_part"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No |