ssh-session-read
Retrieve buffered terminal output from an SSH PTY session. Optionally wait for new output using long-polling.
Instructions
Read raw buffered terminal output from an SSH PTY session. Supports optional long-polling for new terminal output.
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": "ssh-session-read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Read from this output offset. If omitted, return the latest tail | |
| session | No | Session id, session ref, or session name. Defaults to the active session | |
| maxChars | No | Maximum chars to return | |
| waitForChangeMs | No | Wait up to this many milliseconds for new terminal output before returning |