collection-indexes
Retrieve all indexes for a MongoDB collection by providing connection ID, database, and collection name.
Instructions
Describe the indexes for a collection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | Database name | |
| collection | Yes | Collection name | |
| connectionId | Yes | The connection to run the operation against. Use the id returned by one of the connect tools, or "preconfigured" to use the connection string the server was configured with. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| searchIndexes | Yes | ||
| classicIndexes | Yes | ||
| searchIndexesCount | Yes | ||
| classicIndexesCount | Yes |