ssh_stop_session
Terminate a running SSH session, close the attached tmux observer, and receive final output and exit details. The transcript file is preserved on disk.
Instructions
Terminate a tracked SSH session, close any attached tmux observer, and return final unread output plus exit metadata. The transcript file is preserved on disk.
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": {
"session_id": "<session_id>"
},
"name": "ssh_stop_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Send SIGKILL instead of SIGTERM. Default: false. | |
| session_id | Yes | ||
| wait_seconds | No | Seconds to wait for process to exit. Default: 2.0. | |
| max_output_chars | No |