ubus_call
Invoke read-only methods on allowlisted OpenWrt ubus objects, blocking state-changing calls before SSH. Inspect router system and network state safely without installing anything.
Instructions
Read-only: call a read method on an allowlisted ubus object. State-changing methods are refused before any SSH connection.
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": {
"object": "<object>",
"method": "<method>"
},
"name": "ubus_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| object | Yes | ||
| args_json | No | {} |