ssh_get_interactive_output
Retrieve output from an ongoing interactive SSH session. Provide the session ID and optionally limit the number of lines returned to capture command results.
Instructions
获取交互式会话的输出
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_get_interactive_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | 交互式会话ID | |
| max_lines | No | 最大返回行数 |