find
Retrieve documents from a MongoDB collection using a query filter. Specify the collection name, optional filter, and result limit to control the output.
Instructions
Find documents in a collection
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": "<collection>"
},
"name": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of documents to return | |
| filter | No | Query filter (MongoDB query syntax) | |
| collection | Yes | Collection name |