get-helpdesk-tickets
List Helpdesk tickets — the buyer conversations, returns, inquiries, cancellations and cases the Helpdesk inbox shows, each with its status, buyer, linked order and tags. Filters map to the inbox folders, so filtering by status returns the same set (and the same metadata.total) the app shows. Message bodies are not included — call get-helpdesk-ticket-messages for a thread. Authenticated via bearer token.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-helpdesk-tickets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| isRead | No | Filter by read state | |
| search | No | Match subject, buyer name, buyer username or last message | |
| sortBy | No | Sort key; lastMessageDate matches the inbox order | |
| source | No | Where the thread came from. "regular" is a buyer message; "system" is a marketplace notification email — exclude it to match the inbox. The ebay_* sources (ebay_return, ebay_inquiry for Item Not Received, ebay_cancel, ebay_case) are marketplace threads and are ALREADY included by default — set this only to narrow to them. Their eBay detail is on the ticket as caseDetail. | |
| status | No | Only tickets in these statuses: a built-in value or the exact label of one of the company's custom statuses (see get-helpdesk-custom-statuses), matched exactly as the ticket carries it. A value that is neither a custom status nor a label any ticket carries is an error that lists the statuses that exist. "new_ticket" is the Helpdesk's "New Ticket" folder. | |
| buyerId | No | Only tickets from this buyer's marketplace username | |
| channel | No | Only tickets on this channel | |
| orderId | No | Only tickets attached to this marketplace order ID | |
| sellerId | No | Only tickets on this marketplace account | |
| isReplied | No | false is the "newest buyer message unanswered" queue | |
| isStarred | No | Filter by starred state | |
| sortOrder | No | ||
| ticketType | No | Only these ticket types | |
| updatedAfter | No | Only tickets written to at or after this ISO 8601 moment — the field to poll for an incremental mirror | |
| assignedUserId | No | Only tickets assigned to this teammate | |
| customStatusId | No | Only tickets in these custom statuses, by id (from get-helpdesk-custom-statuses) — the surest way to address a label with emoji or punctuation; an unknown id is an error that lists the statuses that exist. Combines with status as OR. | |
| lastMessageAfter | No | Only tickets whose newest message is at or after this ISO 8601 moment |