preview_view
Test Zendesk view conditions before creating or changing a view by counting matching tickets and previewing a sample to validate filters first.
Instructions
Test view conditions before creating or changing a view: how many tickets match and a sample of them. Zendesk allows about 5 previews per minute.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"conditions": "<conditions>"
},
"name": "preview_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| columns | No | Output columns, e.g. ['subject','requester','updated','status']. | |
| sort_by | No | ||
| conditions | Yes | {'all': [...], 'any': [...]} as for a view. Without view_id, `all` needs a condition on status, type, group_id, assignee_id, requester_id or organization_id. | |
| count_only | No | ||
| sort_order | No |