validate_model
Runs structural checks on a model to flag missing keys, data types, comments, duplicate codes, FK mismatches, dangling references, and redundant indexes, returning errors/warnings with locations.
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.
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": {
"model_id": "<model_id>"
},
"name": "validate_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes |