run_command
Execute shell commands on an OpenWrt router for operations not covered by specialized tools.
Instructions
Execute a shell command on the OpenWrt router. Use for any command-line operation not covered by specialized tools.
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 | |
| timeout | No | Command timeout in milliseconds (default: 30000) |