ssh_execute_sudo
Run commands with sudo privileges on remote Linux hosts over SSH. Use it when remote tasks require elevated permissions that standard SSH execution cannot provide.
Instructions
Execute command with sudo on remote Linux host
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": {
"hostname": "<hostname>",
"command": "<command>"
},
"name": "ssh_execute_sudo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| hostname | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |