sanity_count
Count documents in Sanity that match a specified GROQ filter, providing quick totals for content queries.
Instructions
Count documents matching a GROQ filter
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | Yes | GROQ filter expression (e.g., "*[_type == 'post']") | |
| params | No | Optional parameters for the filter |