ssh_shell_read
Read recent output from a remote SSH shell session to monitor long-running commands without sending new input.
Instructions
Read the current content of the interactive shell buffer. Use this to poll for output from long-running commands without sending anything.
Args: session_id: The session ID returned by ssh_connect. lines: Number of tail lines to return (default: 100).
Returns: Recent shell output (tail of buffer).
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_shell_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |