ssh_shell_read
Retrieve output from an interactive SSH shell session. Use session and shell IDs to access command results, with optional buffer clearing.
Instructions
Read output from an interactive shell session
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": {
"sessionId": "<sessionId>",
"shellId": "<shellId>"
},
"name": "ssh_shell_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the output buffer after reading (default: true) | |
| shellId | Yes | Shell ID from ssh_shell_start | |
| sessionId | Yes | Session ID from ssh_connect |