ssh_stream_read
Read buffered output from a persistent SSH stream since the last read or write and check whether it is at a prompt, awaiting input, or still running.
Instructions
Read buffered output of a stream since the last read/write. Footer [state: ...] shows prompt / awaiting_input(kind) / running.
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": {
"stream_id": "<stream_id>"
},
"name": "ssh_stream_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear buffer after read (default true) | |
| wait_ms | No | Wait up to N ms for new output, returning after 500 ms of quiet (default 0) | |
| stream_id | Yes | Stream ID to read from |