oc_task_run_complete
Set a task run to terminal state (COMPLETED, FAILED, or CANCELLED). Requires the run ID; after setting, the run becomes immutable.
Instructions
Enter a terminal TaskRun state (COMPLETED, FAILED, or CANCELLED). Terminal TaskRuns are immutable.
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": {
"run_id": "<run_id>"
},
"name": "oc_task_run_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | REQUIRED TaskRun id returned by oc_task_run_start. | |
| status | No | Defaults to COMPLETED. | |
| failed_items | No | ||
| last_evidence | No | ||
| completed_items | No | ||
| progress_summary | No |