validate_model
Run schema validation after model modifications to check field types, numeric ranges, required fields, enum values, and cross-object reference integrity.
Instructions
Schema-based pre-flight check — run after any model modifications.
Checks field types, numeric ranges, required fields, enum values, singleton constraints (codes E001-E010, W001-W003), and cross-object reference integrity.
IMPORTANT: This is schema validation only. It does not run EnergyPlus and cannot detect runtime faults such as convergence failures, zone connectivity issues, or autosizing problems. A model that passes this check may still fail to simulate.
Preconditions: model loaded (load_model or new_model). Side effects: none — read-only. Next steps: check_model_integrity for domain-level QA, then save_model, then run_simulation for definitive runtime validation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_types | No | Only validate specific types (default: all). | |
| check_references | No | Check reference integrity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | Yes | ||
| is_valid | Yes | ||
| warnings | Yes | ||
| info_count | Yes | ||
| error_count | Yes | ||
| warning_count | Yes | ||
| errors_truncated | No | ||
| warnings_truncated | No |