Describe table
describe_tableRetrieve a PostgreSQL table’s columns, constraints, indexes, and incoming foreign keys to understand its structure and relationships before querying or analysis.
Instructions
Columns, constraints, indexes and incoming foreign keys of a table.
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 | ||
| schema | No | public |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||