mongo_find
Queries documents from a MongoDB collection using filter, projection, and sort options, returning results in relaxed EJSON.
Instructions
Query documents from a MongoDB collection. filter/projection/sort accept relaxed EJSON. Returns relaxed EJSON documents.
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": {
"connection_id": "<connection_id>",
"collection": "<collection>"
},
"name": "mongo_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| limit | No | ||
| filter | No | ||
| database | No | ||
| collection | Yes | ||
| projection | No | ||
| connection_id | Yes |