validate_model
Run structural checks on a model to detect missing primary keys, duplicate codes, and invalid references. Get errors with locations, fix issues, and re-run to confirm.
Instructions
Run built-in structural checks on a model: missing primary keys, duplicate table/column codes, missing data types, missing comments, FK type mismatches, dangling references, duplicate/redundant indexes. Returns passed/errors/warnings with object locations - fix issues and re-run to close the loop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes |