validate_design_for_requirements
Checks whether a generated STL or OBJ model meets structural, dimensional, and manufacturability requirements, returning pass/fail per check with fix suggestions to apply before printing.
Instructions
Validate a 3D model against functional design requirements.
Checks that a generated STL/OBJ model meets the structural,
dimensional, and manufacturability constraints implied by the
requirements. Returns pass/fail per check with specific fix
suggestions for any failures.
Call this AFTER generating a model and BEFORE printing it.
If validation fails, use the fix suggestions to improve the
generation prompt and regenerate.
Args:
file_path: Path to STL or OBJ file.
requirements: Same requirements text used for analyze_design_requirements.
material: Optional material (e.g. "petg").
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": {
"file_path": "<file_path>",
"requirements": "<requirements>"
},
"name": "validate_design_for_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | Optional material (e.g. "petg"). | |
| file_path | Yes | Path to STL or OBJ file. | |
| requirements | Yes | Same requirements text used for analyze_design_requirements. |