opn_interface_stats
Retrieve per-interface traffic counters (bytes in/out, packets, errors) to monitor network utilization, diagnose interface errors, and compare traffic across OPNsense interfaces.
Instructions
Get per-interface traffic statistics (bytes in/out, packets, errors).
Use this when you need to see network utilization, check for interface errors, or compare traffic across interfaces. Returns: dict with 'statistics' (per-interface counters keyed by interface label).
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": "opn_interface_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||