complete_incident_task
Mark an incident task as done or cancelled with a completion report, skipping review, and return the updated task. Use it to close out work or record why a task was cancelled.
Instructions
Complete (done) or cancel an incident task directly with a report, skipping review. targetStatus done requires a tenant admin; cancelled does not. Returns the updated task.
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": {
"incidentId": "<incidentId>",
"taskId": "<taskId>",
"targetStatus": "<targetStatus>",
"report": "<report>"
},
"name": "complete_incident_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | Yes | What was done, or why the task is cancelled | |
| taskId | Yes | Incident task UUID | |
| incidentId | Yes | Incident UUID | |
| completedAt | No | When the task was finished (ISO 8601; default now) | |
| targetStatus | Yes | Final task status | |
| includeDrills | No | Set true to read or change a drill (exercise) incident. Omit to keep the default: drill incidents are hidden and return 404. | |
| relatedIncidents | No | Related incidents to store on the task (each needs id, status, createdAt) |