move_firewall_rule
Move a firewall rule to a new position in the pfSense rule order to adjust priority, with optional immediate application.
Instructions
Move a firewall rule to a new position in the rule order
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rule_id": "<rule_id>",
"new_position": "<new_position>"
},
"name": "move_firewall_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | Rule ID (array index from search_firewall_rules, e.g., 0, 1, 2...) | |
| new_position | Yes | New position (0 = top, higher numbers = lower priority) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||