get_document
Fetch a single document from a MongoDB collection using its object ID and collection name. Enables targeted retrieval for CRUD operations.
Instructions
Get a single document by ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The MongoDB object ID of the document | |
| collection_name | Yes | Name of the collection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||