Get Zendesk Ticket History
get_ticket_historyRetrieve a ticket's audit trail to see who changed which fields and when, oldest first, with before/after values. Use it to answer why a ticket was reassigned or when it moved to pending.
Instructions
Read a ticket's audit trail: who changed which field and when, oldest first. Each entry gives the actor (name and id), the channel and each field change as before → after, user and group ids resolved to names. Comments show only as public or internal markers (bodies: list_ticket_comments). Notification events (trigger emails, CC notifications, pushes) are dropped; CC-list edits still show. Use it for "why was it reassigned?" or "when did it go to pending?".
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": {
"ticket_id": "<ticket_id>"
},
"name": "get_ticket_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Cursor from the previous response; it moves toward the latest changes. | |
| page_size | No | Audits (ticket updates) per page; one can give several lines, and audits with only system events are dropped, so a page can show fewer. | |
| ticket_id | Yes | Ticket id, from search_tickets or list_tickets. |