Stop this task's own SDK process and preserve its evidence (destructive)
dsh_cancel_taskStops the SDK process for a specific delegated task and verifies the PID is gone, interrupting the turn without affecting the user's running DSH Desktop. Returns the observed diff.
Instructions
Stops the SDK process this bridge started for THIS task only, then verifies the pid is gone. It never touches the user's running DSH Desktop. Because the SDK has no per-turn cancel, the turn is interrupted rather than gracefully cancelled, and files may already have been partly modified; the returned diff is what the bridge actually observed.
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": "dsh_cancel_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| taskId | Yes |