dsh_cancel
Cancel an active root turn or remove tasks from the mux queue by task ID. Choose turn scope to preserve queued work or queue scope to clear the queue.
Instructions
scope=turn cancels only the active root turn and preserves queued work. scope=queue non-atomically removes each item from the latest mux queue snapshot.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | turn | |
| taskId | Yes | ||
| sinceCursor | No | ||
| expectedRevision | No |