mongo_delete_one
Delete a single document from a MongoDB collection by applying a JSON filter. Removes the first matching document.
Instructions
Delete a single document matching filter in MongoDB. Blocked when readOnly mode is enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | Yes | JSON string filter. | |
| database | No | ||
| collection | Yes | ||
| connectionId | No | Id of the mongodb connection to use. Optional when only one mongodb connection is configured. |