describe_table
Retrieve column names, data types, nullability, default values, and primary-key membership for a PostgreSQL table to inspect its structure.
Instructions
Describe the columns of a PostgreSQL table: name, data type, nullability, default value, and whether it is part of the primary key.
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 name | |
| schema | No | Schema name (default: public) | public |