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.
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 |