describe_table
Inspect an allow-listed PostgreSQL table to retrieve columns, types, nullability, defaults, primary key, and indexes before building SELECT queries.
Instructions
Describe an allow-listed table: columns (name, type, nullable, default), primary key, indexes.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||