run_command
Execute a shell command over SSH on a configured device using its ssh_user; requires exec=true and OpenSSH on Windows.
Instructions
Run a shell command on a device over SSH as its configured ssh_user. Requires exec=true for the device in the config. Windows devices need OpenSSH server enabled.
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": {
"device": "<device>",
"command": "<command>"
},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| command | Yes | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |