Search Zendesk Tickets
zendesk_search_ticketsSearch Zendesk tickets by query syntax, with ticket-type filtering enforced automatically, to find records by status, priority, requester, or keywords. Supports pagination, sorting, and page limits.
Instructions
Search tickets in Zendesk tenant "acme" using Zendesk search syntax. Automatically enforces type:ticket so only ticket records are returned. Note: Zendesk search is capped at 1,000 results (100 per page) and search indexing can lag by several minutes. For a known ticket ID, use zendesk_get_ticket directly.
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": {
"query": "<query>"
},
"name": "zendesk_search_tickets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number (default 1). | |
| query | Yes | Zendesk search query (e.g. 'status:open priority:high vpn' or 'requester:user@example.com'). 'type:ticket' is enforced automatically. | |
| sort_by | No | Optional field to sort results by. | |
| per_page | No | Results per page (1-100, default 25). | |
| sort_order | No | Optional sort direction ('asc' or 'desc'). |