describe_table
Inspect a PostgreSQL table's columns, types, defaults, keys, references, and indexes to understand its schema before querying or changing data.
Instructions
Columns with types, NOT NULL, defaults and comments; keys, referencing tables, indexes.
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 | "orders" or "sales.orders". | |
| schema | No | Schema to look in; omit for every readable schema. |