Open in OpenSCAD
open_in_openscadOpens a design in the OpenSCAD application, launching it when needed and focusing an existing window instead of opening it twice. Use it to display a model for preview and later design changes.
Instructions
OpenSCAD: opens a design in the OpenSCAD application on the user's screen, starting OpenSCAD when needed. With OpenSCAD's setting "Design → Automatic Reload and Preview" the window then follows every later change to the design; the result says whether that setting is on. A design this server already opened is not opened a second time: OpenSCAD is brought to the front instead.
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": {
"name": "<name>"
},
"name": "open_in_openscad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Design name, e.g. "broom-holder-28mm". Stored as lower-case letters, digits and dashes. | |
| reopen | No | Open a window again although this server already opened the design (the user closed the window). |