Read a design
get_designRetrieve the current OpenSCAD design code with metadata and parameter details, or fetch the code for a specified earlier version by design name.
Instructions
OpenSCAD: returns the current code of a design with its metadata and its parameters (name, value, range, description), or the code of one earlier version.
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": "get_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Design name, e.g. "broom-holder-28mm". Stored as lower-case letters, digits and dashes. | |
| version | No | An earlier version; default is the current code. |