sanity_list_documents
List documents by type with pagination, limit, offset, and ordering to efficiently browse content.
Instructions
List documents of a specific type with pagination
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The document type (e.g., "post", "author", "category") | |
| limit | No | Maximum number of documents to return (default: 20, max: 100) | |
| offset | No | Number of documents to skip (for pagination) | |
| order | No | Order clause (e.g., "_createdAt desc", "title asc") |