Run a raw command
run_commandExecute a shell command on the router and retrieve its output, enabling remote command execution for device management and troubleshooting.
Instructions
Run an arbitrary shell command on the router and return its output. Powerful and dangerous — only enabled when the operator started the server with exec permission.
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_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The shell command to execute on the router |