pg_index_list
Retrieve indexes for a PostgreSQL table, including type, columns, uniqueness, and size, to analyze schema structure.
Instructions
List indexes for a table with type, columns, uniqueness, and size.
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_index_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| schema | No | Schema name (default: 'public') | |
| target | Yes | Target name from ~/.dbx/targets/ |