Describe a table
describe_tableReturns a table's columns, types, foreign keys, and three sample rows so you can inspect schema and real data before writing SQL. Use it to catch hidden formats like cents or ISO dates.
Instructions
A table's columns, types, foreign keys and three real rows. Read this before writing SQL against a table you have not inspected: the sample rows are what reveal that an INTEGER column holds cents and that a TEXT column holds ISO dates.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||