firewall_rule_remove
Remove a server-created firewall rule by section ID or name; preview UCI changes first, then apply with confirm and automatic rollback if the router check fails.
Instructions
Remove a firewall rule, by section id or name. Only ones this server created unless force=true. Without confirm=true this only returns a preview of the UCI changes and changes nothing. With confirm=true it applies them with the router's rollback timer, checks the router still answers, and confirms; if the check fails, the router restores the old config by itself.
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": "firewall_rule_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| force | No | ||
| confirm | No | ||
| section | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||