describeTable
Retrieve complete schema details for a table—columns, types, nullability, keys, indexes, foreign keys, constraints—along with size and row-count statistics.
Instructions
Describe a table: returns columns (name, type, nullability, primary key, identity), indexes, foreign keys, check constraints, and table-level size/row-count statistics.
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": "describeTable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name to describe. Optionally prefix with schema: 'schema.table' | |
| database | No | Database containing the table; omit to use the default |