get_rules
List active firewall rules with hit counts. Filter by action or target to inspect block, allow, route rules for devices, groups, networks, domains, and ports.
Instructions
List all firewall rules/policies including hit counts. Shows active rules including block rules, allow rules, route rules, and their targets (devices, groups, networks, domains, ports). Supports filtering by type and target.
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": "get_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Filter by rule action: 'block', 'allow', 'route', 'qos', 'match' | |
| target | No | Filter rules that mention this target (domain, IP, MAC, category) | |
| disabled | No | Include disabled rules (default false — only active rules) |