ssh_execute
Execute commands on remote SSH hosts to control devices like Raspberry Pi and IoT systems, returning output and exit codes for remote management.
Instructions
Execute a command on a connected SSH host. Returns stdout, stderr, and exit code.
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 | Connection ID from ssh_connect | |
| command | Yes | Command to execute | |
| timeout | No | Command timeout in seconds (default: 30) |