MCPDocumentation
On this page

Incidents

Get an incident

get_incident
Read
Permission required
incidents.view

When to use it

One incident by id or reference (HEM-142) with its detail, conversations, thread (messages with the customer and internal notes) and change history. Only if it is in your centres.

Input

FieldTypeDescription
organization_idintegerOnly to narrow: must be your organization (Autonex staff may pick another)
idintegerInternal id
identifierstringReference: HEM-142, hem142 or 142
thread_limitintegerLatest thread items (messages, internal notes); default 20
activity_limitintegerLatest history entries; default 20

Every tool also accepts lang (es | en) for the language of the text answer.

Output

FieldTypeDescription
incidentRequiredobject
incident.idRequirednumber
incident.identifierRequiredstring | nullVisible reference, e.g. HEM-142
incident.numberRequirednumber | null
incident.titleRequiredstring
incident.statusRequired"pending" | "in_progress" | "waiting" | "resolved" | "cancelled"
incident.priorityRequired"urgent" | "high" | "medium" | "low" | null
incident.categoryRequiredobject | null
incident.departmentRequiredobject | null
incident.locationRequiredobject | nullCentre
incident.assigneeRequiredobject | nullAssigned person
incident.contactRequiredobject | null
incident.channelRequiredstring | null
incident.created_byRequiredobjectagent = the AI, human = a person, system
incident.created_by.typeRequiredstring
incident.created_by.nameRequiredstring | null
incident.due_atRequiredstring | nullDue date (ISO, UTC)
incident.overdueRequiredbooleanOpen and due before today
incident.created_atRequiredstring | null
incident.updated_atRequiredstring | null
incident.resolved_atRequiredstring | null
incident.conversation_countRequirednumber
incident.comment_countRequirednumberInternal notes
incident.descriptionRequiredstring | null
incident.sourceRequiredstring | null
incident.agent_pausedRequiredboolean
incident.assigned_atRequiredstring | null
incident.conversationsRequiredobject[]
incident.conversations[].idRequirednumber
incident.conversations[].channelRequiredstring | null
incident.conversations[].statusRequiredstring | null
incident.conversations[].needs_humanRequiredboolean
incident.conversations[].last_message_atRequiredstring | null
threadRequiredobject[]The latest items, oldest first
thread[].kindRequired"message" | "note" | "system"message = message with the customer, note = internal note, system = event
thread[].fromRequiredstring | nullcontact, agent (the AI) or human (a person) on messages
thread[].authorRequiredstring | null
thread[].textRequiredstring
thread[].atRequiredstring
thread[].conversation_idRequirednumber | null
thread_totalRequirednumber
activityRequiredobject[]History (status, priority, assignment…), newest first
activity[].typeRequiredstring
activity[].atRequiredstring
activity[].actorRequiredstring | null
activity[].dataany
activity_totalRequirednumber

Examples

Example 1: Get HEM-142

Call

JSON
{
  "name": "get_incident",
  "arguments": {
    "identifier": "HEM-142",
    "thread_limit": 10
  }
}

Equivalent JSON-RPC call (POST /mcp)

JSON
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_incident",
    "arguments": {
      "identifier": "HEM-142",
      "thread_limit": 10
    }
  }
}