Get ticket stats
glpi_get_ticket_statsCount GLPI tickets by status—New, Processing, Pending, Solved, Closed—and total without listing them; apply optional criteria to narrow results by entity, requester, technician, or category.
Instructions
Ticket counts per status (New, Processing, Pending, Solved, Closed) plus the total, without listing the tickets. Optional criteria narrow the scope, e.g. one entity: [{field: 80, searchtype: 'equals', value: }] (Ticket search option IDs: 80 = entity, 4 = requester, 5 = technician, 7 = category; same criteria shape as glpi_search).
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": "glpi_get_ticket_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| criteria | No | Optional criteria to narrow the scope: array of {field, searchtype, value, link} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |