get_pf_rules
Reads the compiled pf ruleset to verify which firewall rules pf is actually enforcing versus what is defined in config.xml, returning the raw compiled rules the packet filter is using.
Instructions
Read the compiled pf ruleset (/tmp/rules.debug) to verify what pf is actually enforcing vs what's in config.xml.
Returns the raw compiled rules that the packet filter is using.
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_pf_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||