dsh_cancel
Stop all work in a session—turns, sub-agents, background jobs, and reminders—by run_id or session_id while keeping the session and dropping queued messages.
Instructions
Stop everything a session is doing (turn, sub-agents, background jobs, reminders), by run_id or session_id; the session is kept. Messages queued in it are dropped too (removed_from_queue); to drop one queued message use dsh_update_queued (via dsh_call). Safe to repeat. Returns still_busy, activity and removed_from_queue.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dsh_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | Run id from dsh_send; stops the session that run belongs to | |
| session_id | No | Session id, to stop work dsh-baton did not start |