list_indexes
Retrieves the indexes of a MongoDB collection, including keys and options such as unique, sparse, TTL, and partial filters, to help inspect and manage query performance.
Instructions
Indexes of a collection with keys and options (unique, sparse, TTL, partial filter).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| collection | Yes | ||
| connection | No |