drop-collection
Remove a MongoDB collection or view and its associated indexes from a specified database using MongoDB MCP Server.
Instructions
Removes a collection or view from the database. The method also removes any indexes associated with the dropped collection.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | Collection name | |
database | Yes | Database name |