find_documents
Query MongoDB collections to retrieve documents matching a filter, with optional projection and limit for bounded results.
Instructions
Find bounded MongoDB documents using a filter and optional projection.
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": "find_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| filter | No | ||
| database | Yes | ||
| collection | Yes | ||
| projection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||