sql_diagnose_issue
Run a comprehensive table diagnostic checking row counts, NULLs across all columns, foreign key violations, and recent records to pinpoint data issues quickly during debugging.
Instructions
Run a comprehensive diagnostic on a table: counts, NULLs in all columns, FK violations, and recent rows. Great starting point when you notice something wrong.
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": {
"table": "<table>"
},
"name": "sql_diagnose_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table to diagnose |