MCPDocumentation
On this page

Incidents

Incident options

incident_options
Read
Permission required
incidents.view

When to use it

The valid values to create or change incidents: active categories, departments, centres in your scope and assignable people (those allowed to handle incidents at that centre). Use it before update_incident_preview to get the ids.

Input

FieldTypeDescription
organization_idintegerOnly to narrow: must be your organization (Autonex staff may pick another)
location_idintegerOnly people who can own incidents of this centre
department_idintegerOnly people in this department

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

Output

FieldTypeDescription
categoriesRequiredobject[]
categories[].idRequirednumber
categories[].nameRequiredstring
categories[].default_departmentRequiredobject | null
categories[].default_priorityRequiredstring | null
departmentsRequiredobject[]
departments[].idRequirednumber
departments[].nameRequiredstring
departments[].location_idsRequirednumber[]Centres it works at; empty = all
centresRequiredobject[]The centres in your scope
centres[].idRequirednumber
centres[].nameRequiredstring
assignableRequiredobject[]People who can be assigned (permission and centre)
assignable[].idRequirednumber
assignable[].nameRequiredstring
assignable[].avatar_urlRequiredstring | null
assignable[].departmentsRequiredstring[]

Examples

Example 1: Who can own incidents of centre 5

Call

JSON
{
  "name": "incident_options",
  "arguments": {
    "location_id": 5
  }
}

Equivalent JSON-RPC call (POST /mcp)

JSON
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "incident_options",
    "arguments": {
      "location_id": 5
    }
  }
}