db.table_info
Inspect a PostgreSQL table's structure: columns, indexes, constraints, foreign keys, and triggers.
Instructions
Inspect one table's columns, indexes, constraints, foreign-key relationships, and triggers.
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": "db.table_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| database | No |