Restore a version
restore_versionMake an earlier design version current again, save it as a new version so in-between versions stay available, validate the result, and optionally attach a preview image.
Instructions
OpenSCAD: makes an earlier version the current code of a design again. The restored code is saved as a new version, so the versions in between stay available. Validates the result and returns an image like update_design.
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>",
"version": "<version>"
},
"name": "restore_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Design name, e.g. "broom-holder-28mm". Stored as lower-case letters, digits and dashes. | |
| preview | No | Attach an image of the restored model. Default: true. | |
| version | Yes | The version to bring back (see list_versions). |