List tickets
list_ticketsList support tickets (token-efficient summary by default). Each ticket returns core fields plus a short body_preview and rollups (message_count, last_message_at, document_count, time_entry_count, total_time_min) — NOT the full message/document/time-entry bodies. To pull the full recent items inline, pass include (e.g. ["messages","time_entries"]); for a single ticket's whole conversation use get_ticket instead. Ordered by last activity, default limit 25 (max 200). Prefer server-side filters (status, project_id, assigned_user_id, created_by_user_id) over fetching everything.
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": "list_tickets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Field to sort by (default: last_activity) | |
| type | No | Filter by ticket type | |
| limit | No | Maximum results (default 25, max 200) | |
| offset | No | Number of results to skip for pagination (default 0) | |
| status | No | Filter by status (ticket_status lifecycle: new → classified → drafted → pending_approval → approved → resolved; escalated is a side state) | |
| include | No | Opt in to heavy nested data. 'messages'/'documents'/'time_entries' embed the most recent items per ticket (see embed_limit); 'body' returns the full ticket body instead of a preview. Omit for the compact summary. | |
| direction | No | Sort direction (default: desc) | |
| project_id | No | Filter by project UUID | |
| embed_limit | No | Max recent items per included type, per ticket (default 5, max 20). Only applies to included types. | |
| assigned_user_id | No | Filter to tickets assigned to this support-user UUID | |
| created_by_user_id | No | Filter to tickets created by this user UUID |