Describe a table
describe_tableInspects a table’s columns, types, keys, indexes, and sample values before you write SQL, so you can query unfamiliar schemas correctly.
Instructions
Columns and types for one table, with primary keys, NOT NULL, defaults, foreign keys, indexes, and, for low-cardinality text columns, the distinct values they actually contain. Read this before writing SQL against a table you have not seen.
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": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name. Case-insensitive. | |
| include_sample_values | No | Include a few distinct values for enumerated columns (default true). These are real values from the table. |