panorama_move_device_group_nat_rule
Repositions a NAT rule within a Panorama device group rulebase by moving it to the top, bottom, before, or after another rule. Changes are staged in the candidate config for later commit and push.
Instructions
[MODIFIES CONFIG] Moves a NAT rule to a new position in a Panorama device group rulebase. Staged in candidate config — requires 'panorama_commit' then 'panorama_push_to_devices' to activate.
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": {
"device_group": "<device_group>",
"rulebase": "<rulebase>",
"name": "<name>",
"where": "<where>"
},
"name": "panorama_move_device_group_nat_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the NAT rule to move | |
| where | Yes | Position to move the rule to | |
| firewall | No | Target firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise. | |
| rulebase | Yes | Rulebase type: 'pre' or 'post' | |
| destination | No | Reference rule name (required when 'where' is 'before' or 'after') | |
| device_group | Yes | Name of the device group |