mongo_find
Retrieves MongoDB documents from a collection using an optional JSON filter and result limit.
Instructions
Find MongoDB 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": {
"database": "<database>",
"collection": "<collection>"
},
"name": "mongo_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| database | Yes | ||
| collection | Yes | ||
| filter_json | No | {} | |
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |