run_sudo_command
Execute a non-interactive sudo shell command on the ARTEX host after enabling ARTEX_ALLOW_SHELL, for privileged diagnostics or administration.
Instructions
Run a shell command with sudo -n on the ARTEX host.
Gated: set ARTEX_ALLOW_SHELL=true to enable.
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": "run_sudo_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |