ssh_read_output
Retrieve output from an active SSH shell session by specifying a session ID, with options to set timeout duration and clear the buffer after reading.
Instructions
Read output from an interactive shell session
Input Schema
Name | Required | Description | Default |
---|---|---|---|
clearBuffer | No | Clear the output buffer after reading | |
sessionId | Yes | Interactive session ID | |
timeout | No | Timeout in milliseconds to wait for output |
Input Schema (JSON Schema)
{
"properties": {
"clearBuffer": {
"default": true,
"description": "Clear the output buffer after reading",
"type": "boolean"
},
"sessionId": {
"description": "Interactive session ID",
"type": "string"
},
"timeout": {
"default": 5000,
"description": "Timeout in milliseconds to wait for output",
"type": "number"
}
},
"required": [
"sessionId"
],
"type": "object"
}