pg_table_describe
Retrieve detailed metadata of a PostgreSQL table including columns, data types, defaults, nullability, and constraints.
Instructions
Describe a table: columns, data types, defaults, nullability, 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": {
"target": "<target>",
"table": "<table>"
},
"name": "pg_table_describe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| schema | No | Schema name (default: 'public') | |
| target | Yes | Target name from ~/.dbx/targets/ |