validate
Validate OpenSCAD code syntax to identify errors and warnings before rendering. Provide code and optional variables to get instant feedback without generating output.
Instructions
Validate OpenSCAD code syntax without generating output. Returns errors and warnings if any.
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": {
"scad": "<scad>"
},
"name": "validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scad | Yes | OpenSCAD code to validate | |
| parameters | No | Variables to define during validation |