Close Model
close_modelCloses the active SolidWorks document, optionally saving it first when save is enabled; unsaved changes are lost otherwise.
Instructions
Close the active document, saving it first only if asked.
Use it when you are done with a document. Unsaved changes are lost unless save
is on. Needs: an open, active document. Changes: closes the document, and with
save writes it first. Returns: saved, whether a save was asked for.
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": "close_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The close. Nothing is required: `save` is off. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||