dsh_cancel
Cancel the active root turn or remove all queued tasks for a given task ID. Use turn scope to preserve pending work, or queue scope to clear the entire queue snapshot.
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 |