delete_document
Delete a document from a MongoDB collection by specifying the collection name and a filter query. Use this tool to remove records that match your criteria directly.
Instructions
Delete matching document.
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_name": "<collection_name>",
"filter_query": "<filter_query>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter_query | Yes | ||
| collection_name | Yes |