list_indexes
Retrieve all indexes for a PostgreSQL table to analyze structure, optimize queries, and manage database performance.
Instructions
List all indexes for a table.
Args:
table_name: Name of the table
schema: Schema name (default: public)
Returns:
List of indexes with name, columns, type, and sizeInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| schema | No | public |