find_document
Retrieve a single document from a specified MongoDB collection using a query filter.
Instructions
Find a single 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>",
"query": "<query>"
},
"name": "find_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| collection_name | Yes |