describe_table
Inspect an allow-listed PostgreSQL table or view to retrieve column names, types, nullability, defaults, comments, primary keys, and foreign keys before writing queries.
Instructions
Show the columns (name, type, nullable, default, comment), primary key and foreign keys of one allow-listed table or view. Pass schema.table, or just the table name for the default schema.
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 | |||