update_firewall_rules
Replace the full firewall rule set for a VPS, requiring confirmation to prevent SSH lockout.
Instructions
Replace this VPS's entire firewall rule set with the given list. Requires confirm=true — this can lock out access (including SSH) if the rules are wrong; double-check with the user before calling. Each rule should match the shape returned by list_firewall_rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | ||
| vps_id | Yes | ||
| confirm | No |