Describe a table
describe_tableInspect a PostgreSQL table or view to retrieve column types, nullability, defaults, comments, constraints, and indexes for schema understanding.
Instructions
Columns (type, nullability, default, comment), constraints and indexes of one table or view.
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 or view name, unquoted | |
| schema | No | Schema name; required when the name exists in several schemas |