get_table_indexes
Retrieve all indexes defined on a table in SQL Server or PostgreSQL. Provide the schema and table name to list its indexes, with an optional database parameter.
Instructions
Get all indexes defined on a table
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| schema | Yes | Schema name (e.g. dbo) | |
| database | No | Database name (defaults to the configured default database) |