Close File
zemax_close_fileClose the current optical system in Zemax OpticStudio while keeping the application connection active; optionally save changes first to prevent data loss.
Instructions
Close the current optical system while retaining the application connection.
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": {
"save": "<save>"
},
"name": "zemax_close_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | Yes | Save the current system if needed before closing |