abort_task
Cancel a running or pending task, safely terminate its worker process tree, and remove its isolated Git worktree without touching the main branch.
Instructions
Cancel a running or pending task, terminate its worker process tree safely, and remove its isolated Git worktree without touching the main branch.
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": {
"taskId": "<taskId>"
},
"name": "abort_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason recorded in audit history. | |
| taskId | Yes | Task ID to abort. |