inspect_table_schema
Retrieve detailed table schema information—column types, nullability, primary and foreign keys, and index coverage—to validate structure before database changes.
Instructions
Returns detailed schema info for a table: column types, nullability, primary keys, foreign keys, and index coverage metrics.
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": {
"tableName": "<tableName>"
},
"name": "inspect_table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableName | Yes | The name of the table to inspect |