Validate document
validate_documentValidates all document objects as solids with positive volume, returning per-object results and an overall all_valid flag for use after parameter changes or before STEP export.
Instructions
Validate the geometry of all objects in a document. Returns per-object results indicating whether each object is a valid Solid with positive volume, plus an overall all_valid flag. Use after modifying parameters or before exporting STEP.
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": {
"params": "<params>"
},
"name": "validate_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | Yes | Per-object validity results. | |
| all_valid | Yes | True if every object passes geometry checks. | |
| document_id | Yes | Validated document identifier. |