Incidents

Get an incident

Returns an incident by its identifier: what broke, what it falls on, which status it is in and whether it blocks the availability of the material.

Tool
filmo_incidents_get
Access: Read

Result

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "filmo_incidents_get",
    "arguments": {
      "incidentId": "inci_8f2a1c"
    }
  }
}

generated from the schema

It does NOT include the repair cost or the internal resolution note.

Arguments

incidentIdstringRequired

Incident identifier.

Limits: min length 1

Result

On success the result carries structuredContent with data and meta. These are the attributes of data.

Show the attributes of data
idstring

Unique incident identifier.

identifierstring

Human-readable incident number.

titlestring

Short title of the incident.

descriptionstring | null

Description; null if it has none.

typestring

Nature: damage, loss, malfunction, cosmetic, theft or custom.

scopestring

What it affects: item, serializedItem, space, kit, vehicle or custom.

Available options: item, serializedItem, space, kit, vehicle, custom

statusstring

Lifecycle status: draft, open, waiting, repairing, complete or lost.

prioritystring

Priority: urgent, high, medium, low or none.

severitystring

Declared severity.

blocksAvailabilityboolean

true when the incident removes the material from the available pool.

affectedQuantityinteger | null

Affected units in bulk stock; null when not applicable.

itemIdstring | null

Affected item; null if not applicable.

serializedItemIdstring | null

Affected physical unit; null if not applicable.

spaceIdstring | null

Affected space; null if not applicable.

vehicleIdstring | null

Affected vehicle; null if not applicable.

orderIdstring | null

Order in which it was detected; null if not applicable.

projectIdstring | null

Associated project; null if not applicable.

dueDatestring<date-time> | null

Target resolution date in ISO 8601 UTC; null if it has none.

commentCountinteger

Comments the incident has.

createdAtstring<date-time>

Creation date in ISO 8601 UTC.

updatedAtstring<date-time>

Last modification date in ISO 8601 UTC.

An error is a result with isError: true and the problem in content[0].text; there is no structuredContent. See Errors.

The same operation by REST

This tool runs GET /api/v1/incidents/{incidentId}.

  • Incidents

    Get an incident

    Returns an incident by its identifier: what broke, what it falls on, which status it is in and whether it blocks the availability of the material.

  • Guides

    Safe writes

    An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.

  • Guides

    Errors

    A tool error is a result with isError: true and the problem in the first text block. Branch on its code.