Create or update post-mortem
update_postmortemCreates or fills the incident's post-mortem draft (write scope; any member may, as in the dashboard). Creates it with the dashboard template on first use, then applies only the fields sent: sections replaces just the sections named (markdown-lite: bold, code, "- " lists, ### sub-headings; "" empties one; other sections and custom headings stay untouched); title, severity (minor/major/critical: the impact), root_cause_category, status (draft/completed); add_timeline [{at ISO 8601, text}] and add_action_items [{title, due_date?}] append, skipping exact repeats. The incident's automatic events (started/acknowledged/resolved) already show in the post-mortem without timeline entries. Publishing to the status page and deleting are not available here (owner/admin, dashboard). Returns the post-mortem.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"incident_id": "<incident_id>"
},
"name": "update_postmortem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Post-mortem title | |
| status | No | draft or completed | |
| sections | No | Text per section: summary, impact, root_cause, detection, resolution, what_went_well, what_could_have_gone_better | |
| severity | No | Impact: minor, major or critical; null clears it | |
| incident_id | Yes | Incident number, e.g. 2828 | |
| add_timeline | No | Timeline entries to append | |
| add_action_items | No | Action items to append | |
| root_cause_category | No | Root cause category; null clears it |