Rename a firewall or replace its rules
update_firewallrules REPLACES the whole list and is applied at once to every attached machine: send every rule to keep, not only the new one (read get_firewall first). Removing the SSH rule can lock the agent out. pending_machines counts machines not updated yet, retried automatically. Scope: network.write.
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": {
"firewall": "<firewall>"
},
"name": "update_firewall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name; omitted, the name is kept. | |
| rules | No | The firewall's full list of rules, up to 50. What no rule opens is refused. | |
| firewall | Yes | Firewall id, as returned by list_firewalls or create_firewall. |