find
Query MongoDB collections to retrieve documents that match a filter, with control over returned fields, order, skip, and limit.
Instructions
Find documents in a MongoDB 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 |
|---|---|---|---|
| skip | No | Number of documents to skip | |
| sort | No | Sort specification | |
| limit | No | Maximum documents to return | |
| filter | No | MongoDB filter query | |
| collection | Yes | Collection name | |
| projection | No | Fields to include/exclude |