get_snapshot
Capture the current screen state of an SSH session to monitor long-running commands without sending new input.
Instructions
Get the current screen state of a session.
Use this to check on long-running commands without sending new input. The response includes [INFO: ...] hints about detected prompts or interactive states.
Args: session_id: The ID of the session (format: user@host-). lines: Number of lines to capture from the end of the screen and tmux scrollback (default 40).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |