describe_table
Retrieve a PostgreSQL table's columns, indexes, and constraints. Understand the full schema before writing queries.
Instructions
Describe a table's structure including columns, indexes, and constraints.
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 to describe | |
| schema | No | Schema name containing the table (default: "public") | public |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||