drop_collection
Deletes a MongoDB collection along with all its documents and indexes; require confirm_name to match the collection name before destructive removal.
Instructions
Drop a collection with all its documents and indexes. confirm_name must repeat the collection name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collection": "<collection>",
"confirm_name": "<confirm_name>"
},
"name": "drop_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| collection | Yes | ||
| connection | No | ||
| confirm_name | Yes |