ssh_exec
Execute a shell command on a remote host and return its output. Useful for running remote commands via SSH.
Instructions
在远程主机上执行一条 shell 命令并返回结果。
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": {
"host": "<host>",
"command": "<command>"
},
"name": "ssh_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| shell | No | ||
| command | Yes | ||
| timeout | No | ||
| environment | No | ||
| allow_dangerous | No |