sql_inspect_table
Inspect a table's full structure, including columns with types, nullability, defaults, primary and foreign keys, indexes, and row count to understand database schema and resolve data issues.
Instructions
Show full details about a table: columns with types/nullability/defaults, primary keys, foreign keys, indexes, and row count.
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_inspect_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name (e.g. 'Orders' or 'dbo.Orders') |