pg_describe_table
Describe a table by listing its columns with data types, nullability, defaults, and order. Use for schema inspection and query planning.
Instructions
List the columns of a table: name, data type, nullability, and default, in column order.
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_name": "<table_name>"
},
"name": "pg_describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | public | |
| table_name | Yes |