List incidents
- Permission required
incidents.view
When to use it
Your organization's incidents with the same filters as the panel: status, priority, category, assignee (incl. "me" and "Mine"), department, centre, due date (overdue / today) and search. You only see your centres'. Ordered like the board.
Input
| Field | Type | Description |
|---|---|---|
organization_id | integer | Only to narrow: must be your organization (Autonex staff may pick another) |
priority | "urgent" | "high" | "medium" | "low" | "none"[] | Priorities; "none" = no priority |
category_id | integer | "none"[] | Category ids; "none" = uncategorised |
assignee | "me" | "none" | integer | "me" = assigned to me, "none" = unassigned, or a person id |
mine | boolean | Mine: assigned to me or unassigned in my departments (like "Mine" in the panel) |
department_id | integer | |
location_id | integer | Centre |
due | "overdue" | "today" | "none" | overdue = past due, today = due today, none = no due date |
q | string | Search title, contact name or phone, or by number (HEM-142) |
contact_id | integer | |
conversation_id | integer | |
status | "pending" | "in_progress" | "waiting" | "resolved" | "cancelled"[] | Statuses. Default: the open ones (pending, in_progress, waiting) |
include_closed | boolean | Without status: also include resolved and cancelled |
limit | integer | Maximum incidents (1–200, default 50) |
Every tool also accepts lang (es | en) for the language of the text answer.
Output
| Field | Type | Description |
|---|---|---|
incidentsRequired | object[] | |
incidents[].idRequired | number | |
incidents[].identifierRequired | string | null | Visible reference, e.g. HEM-142 |
incidents[].numberRequired | number | null | |
incidents[].titleRequired | string | |
incidents[].statusRequired | "pending" | "in_progress" | "waiting" | "resolved" | "cancelled" | |
incidents[].priorityRequired | "urgent" | "high" | "medium" | "low" | null | |
incidents[].categoryRequired | object | null | |
incidents[].departmentRequired | object | null | |
incidents[].locationRequired | object | null | Centre |
incidents[].assigneeRequired | object | null | Assigned person |
incidents[].contactRequired | object | null | |
incidents[].channelRequired | string | null | |
incidents[].created_byRequired | object | agent = the AI, human = a person, system |
incidents[].created_by.typeRequired | string | |
incidents[].created_by.nameRequired | string | null | |
incidents[].due_atRequired | string | null | Due date (ISO, UTC) |
incidents[].overdueRequired | boolean | Open and due before today |
incidents[].created_atRequired | string | null | |
incidents[].updated_atRequired | string | null | |
incidents[].resolved_atRequired | string | null | |
incidents[].conversation_countRequired | number | |
incidents[].comment_countRequired | number | Internal notes |
truncatedRequired | boolean | There are more results than limit |
countsRequired | object | Total per status with the same filters (minus status) |
Examples
Example 1: Overdue urgent incidents
Call
{
"name": "list_incidents",
"arguments": {
"priority": [
"urgent"
],
"due": "overdue"
}
}Example 2: My open incidents
Call
{
"name": "list_incidents",
"arguments": {
"mine": true
}
}Example 3: Search by number
Call
{
"name": "list_incidents",
"arguments": {
"q": "HEM-142",
"include_closed": true
}
}Response
{
"incidents": [
{
"id": 812,
"identifier": "HEM-142",
"number": 142,
"title": "Cambio de cita",
"status": "pending",
"priority": "high",
"category": {
"id": 3,
"name": "Citas"
},
"department": {
"id": 30,
"name": "Recepción"
},
"location": {
"id": 5,
"name": "Centro A"
},
"assignee": null,
"contact": {
"id": 10,
"name": "Ana Cliente",
"phone": "+34600111222"
},
"channel": "whatsapp",
"created_by": {
"type": "agent",
"name": "Lucía"
},
"due_at": null,
"overdue": false,
"created_at": "2026-11-20T09:12:00Z",
"updated_at": "2026-11-20T09:12:00Z",
"resolved_at": null,
"conversation_count": 1,
"comment_count": 0
}
],
"truncated": false,
"counts": {
"pending": 1,
"in_progress": 0,
"waiting": 0,
"resolved": 0,
"cancelled": 0
}
}Equivalent JSON-RPC call (POST /mcp)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_incidents",
"arguments": {
"priority": [
"urgent"
],
"due": "overdue"
}
}
}