draft_check
Validates planning-stage CAD specs before modeling: checks dimension expressions, feature containment, min wall, declared checks, fits, and optional STL mesh alignment; gate on PASS/FAIL.
Instructions
Assert a draft spec — the planning-stage gate, before any CAD exists.
Checks that every dimension expression resolves, that features sit inside their
outline and hold the declared min_wall, that the `checks:` expressions hold, and
that declared fits land in their clearance class. Pass `stl` to also assert an
exported mesh still matches the draft (bbox, and drafted holes present at the
right diameter and position). Final line is `PASS` or `FAIL:` — gate on it.
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": {
"spec": "<spec>"
},
"name": "draft_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stl | No | ||
| spec | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |