sudo_exec
Run shell commands with sudo privileges using a pre-stored password, avoiding repeated credential entry.
Instructions
Execute a command with sudo using the stored password.
Args: command: The shell command to run with sudo. timeout: Timeout in seconds (default 120).
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": {
"command": "<command>"
},
"name": "sudo_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |