Shell cancel session
shell_cancel_sessionTerminate all shell runs started in a session to clear a stuck workspace. Use when tearing down a session with several running commands, not for stopping a single run.
Instructions
Kill every shell run started in this session. Use when: you tear down a stuck session with several running commands. Avoid when: only one run must stop (shell_cancel). Output: cancelled_run_ids[], count.
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": "shell_cancel_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||