cancel_task
Request graceful cancellation of a running task. The owning runner performs the termination, ensuring safe shutdown without direct process kills.
Instructions
Request graceful cancellation. The runner that owns the child process performs termination; the MCP server never kills a PID read from task files.
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": {
"task_id": "<task_id>"
},
"name": "cancel_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task ID to cancel |