List tickets
glpi_list_ticketsList GLPI tickets visible to the connected user, filter by status, and sort by update date, priority, or other fields with pagination.
Instructions
List GLPI tickets of the whole instance (every ticket the connected user may see), most recently updated first by default. Filter by status (e.g. status: 'open' = not solved nor closed) and choose the sort column and direction. Each row carries status_name, type_name, priority_name (in the GLPI user's language), category_name, and requesters and assigned technicians as {id, name}. For the connected user's OWN tickets ("my tickets") use glpi_list_my_tickets instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort column (default date_mod = last update) | |
| order | No | Sort direction (default desc = most recent first) | |
| range | No | Pagination range, e.g. 0-49 | |
| fields | No | Field set: 'essential' (default, trims internal GLPI fields) or 'all' | |
| format | No | Output format: 'json' (default) or 'markdown' (a table for listings, key/value lines for one item; returned in both the text and the structured result) | |
| status | No | Only tickets in these statuses: new, assigned (= processing), planned, pending, solved, closed, or open (= new + assigned + planned + pending). One name or a list. Default: every status. | |
| expand_dropdowns | No | Expand dropdown IDs to names |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| note | No | Pagination hint: how to fetch the next page | |
| count | No | Items in this page | |
| total | No | Total matching items in GLPI (all pages) | |
| format | No | 'markdown' when data holds the markdown rendering |