ssh_start_interactive
Launch interactive SSH sessions that support commands requiring user input, such as sudo, vim, or mysql.
Instructions
启动交互式SSH会话(支持sudo、vim、mysql等需要交互输入的命令)
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": {
"connection_id": "<connection_id>",
"command": "<command>"
},
"name": "ssh_start_interactive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | SSH连接ID | |
| command | Yes | 要启动的交互式命令 | |
| pty_width | No | 伪终端宽度 | |
| pty_height | No | 伪终端高度 |