network_status
Get the live status of a specified UCI network interface (e.g., lan, wan) on an OpenWrt router via netifd. Useful for troubleshooting connectivity and interface state.
Instructions
Get the status of a specific UCI network interface using netifd.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "network_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface | No | Interface name as defined in UCI (e.g., 'lan', 'wan', 'wan6') | lan |