rule_stats
Retrieve per-rule hit counts and evaluations, sorted busiest first, to identify heavily used or inactive firewall rules. Set target and top N to focus the report.
Instructions
[READ] Per-rule hit counts / evaluations, busiest first (top-N).
Args: top: How many rules to return, busiest first (default 20). target: Firewall target name from config; omit for the default.
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": "rule_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| target | No |