dsh_cancel
Cancel a running turn of a DeepSeek Harness session to stop ongoing agent work while keeping queued messages intact.
Instructions
Interrupt the running turn of a Session. Queued messages stay queued.
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": {
"sessionId": "<sessionId>"
},
"name": "dsh_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session id from dsh_open_session or dsh_list_sessions. |