mongo_find
Query MongoDB collection documents by specifying filter, sort, projection, skip, and limit parameters.
Instructions
Query documents from a MongoDB collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of documents to skip. | |
| sort | No | JSON string sort specification (e.g. '{"createdAt":-1}'). | |
| limit | No | Max documents to return (default 100). | |
| filter | No | JSON string filter query (e.g. '{"status":"active"}'). | |
| database | No | Database name. | |
| collection | Yes | Collection name. | |
| projection | No | JSON string field projection (e.g. '{"name":1}'). | |
| connectionId | No | Id of the mongodb connection to use. Optional when only one mongodb connection is configured. |