ssh_execute
Execute commands on a remote server over an established SSH connection. Specify the command and optional timeout.
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": {
"connection_id": "<connection_id>",
"command": "<command>"
},
"name": "ssh_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | SSH连接ID | |
| command | Yes | 要执行的命令 | |
| timeout | No | 命令超时时间(秒) |