find
Query MongoDB documents with JSON filters, projections, sorting, pagination, collation, and time limits across connection profiles.
Instructions
Query documents. filter / projection / sort are JSON (Extended JSON for ObjectId, dates...). sort: {"createdAt": -1} or [["a", 1], ["b", -1]]. limit defaults to the profile's max_docs (100). collation: {"locale": "tr", "strength": 2} for Turkish case-insensitive matching: "istanbul" finds "İstanbul" (İ=i, I=ı; regex $options "i" does not fold İ/ı).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | ||
| sort | No | ||
| limit | No | ||
| filter | No | ||
| database | No | ||
| collation | No | ||
| collection | Yes | ||
| connection | No | ||
| projection | No | ||
| max_time_ms | No |