delete_document
Delete a document from a collection using its MongoDB object ID. Remove a single record without impacting other data.
Instructions
Delete a document from a collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The MongoDB object ID of the document to delete | |
| collection_name | Yes | Name of the collection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||