Bring an interface up or down
set_interface_stateEnable or disable a network interface; use get_interface first to confirm traffic, as shutting down WAN or bridge can cut router access.
Instructions
Enables or disables a network interface. Taking down a bridge or the WAN link can cut off access to the router itself, including this connection. Confirm what the interface carries with get_interface before calling this.
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": {
"name": "<name>",
"state": "<state>"
},
"name": "set_interface_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Interface id from list_interfaces. | |
| state | Yes | Desired administrative state. |