Describe table
describe_tableInspect a PostgreSQL table or view to retrieve columns, constraints, indexes, size, and estimated rows, helping you understand schema structure and plan queries.
Instructions
Columns (type, nullability, default), constraints, indexes (with scan counts), size, and estimated rows.
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": {
"schema": "<schema>",
"table": "<table>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table or view name | |
| schema | Yes | Schema name, e.g. public |