mongo-find-documents
Query documents from MongoDB collections using filters and limits to retrieve specific data from your database.
Instructions
Query documents from a MongoDB collection
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| collection | Yes | Collection name | |
| database | Yes | Database name | |
| filter | No | Query filter as JSON object (optional) | |
| limit | No | Maximum number of documents to return (optional) | 
Input Schema (JSON Schema)
{
  "properties": {
    "collection": {
      "description": "Collection name",
      "type": "string"
    },
    "database": {
      "description": "Database name",
      "type": "string"
    },
    "filter": {
      "additionalProperties": {},
      "description": "Query filter as JSON object (optional)",
      "type": "object"
    },
    "limit": {
      "description": "Maximum number of documents to return (optional)",
      "type": "number"
    }
  },
  "required": [
    "database",
    "collection"
  ],
  "type": "object"
}