List documents in a Mudbase collection
mudbase_list_documentsList documents in a Mudbase collection using JSON filters, pagination, and sorting to locate the records you need.
Instructions
List documents in a Mudbase collection, with pagination, sorting, and an optional filter. 'filter' is a JSON-encoded object using Mudbase's structured query operators, e.g. '{"status":"active"}' or '{"age":{"$gte":18}}'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. Defaults to 1. | |
| sort | No | Sort field(s), e.g. '-createdAt' for newest first, or 'name' for ascending. | |
| limit | No | Documents per page, max 100. Defaults to 20. | |
| filter | No | A JSON-encoded filter object using Mudbase's structured query operators. | |
| projectId | Yes | The Mudbase project ID. | |
| collectionId | Yes | The collection ID to operate on. |