← All toolsFinance & Analysiscompliance_toolsAll editions

CREATE_INCIDENT_REPORT

Generates a standardized incident report (.docx) including timeline, impact, RCA (Root Cause Analysis), and lessons learned.

Parameters

NameTypeRequiredDescription
output_pathstringyesβ€”
incident_idstringyesβ€”
date_of_incidentstringβ€”β€”
reported_bystringβ€”β€”
severitystringβ€”Low, Medium, High, Critical
descriptionstringyesβ€”
impactstringβ€”β€”
root_causestringyesβ€”
actions_takenarrayβ€”β€”
preventative_measuresarrayβ€”β€”

How to use it

You normally trigger this by describing what you want in chat β€” the agent selects CREATE_INCIDENT_REPORT automatically. For example:

Try saying
β€œcreate a compliance tools document”

In a workflow

As a step in a multi-step workflow DAG:

json
{
  "id": "s1",
  "agent": "compliance_tools",
  "action": "CREATE_INCIDENT_REPORT",
  "args": {
    "output_path": "/Users/me/Documents/file.txt",
    "incident_id": "…",
    "description": "…",
    "root_cause": "…"
  },
  "depends_on": [],
  "outputs": []
}

Direct call

For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.

bash
curl -X POST http://127.0.0.1:8000/execute_tool \
  -H "Content-Type: application/json" \
  -d '{"tool_name":"CREATE_INCIDENT_REPORT","args":{"output_path":"/Users/me/Documents/file.txt","incident_id":"…","description":"…","root_cause":"…"}}'

Part of the compliance_tools plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.