get_ticket_comments
Retrieve the full comment thread for a ticket, including public replies and internal notes. Use after fetching a ticket without comments to get paginated conversation history.
Instructions
List the comment thread for a ticket (both public replies and internal agent notes). Useful when you need conversation history but already used get_ticket without include_comments:true. Comments are paginated — large tickets may have 50+ comments across multiple pages.
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": {
"id": "<id>"
},
"name": "get_ticket_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Ticket ID. | |
| page | No | 1-based page number. Defaults to 1. | |
| per_page | No | Comments per page, max 100. Defaults to 100. | |
| sort_order | No | `asc` for oldest-first (chronological reading), `desc` for newest-first. Defaults to `asc`. |