ssh_read_output
Retrieve the latest output from an active SSH session buffer. Use to check command results without sending additional commands.
Instructions
读取 SSH 会话缓冲区中的最新输出(不发送新命令)。
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_read_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | 会话 ID(由 ssh_connect 返回) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |