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.
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": {
"vps_id": "<vps_id>",
"rules": "<rules>"
},
"name": "update_firewall_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | ||
| vps_id | Yes | ||
| confirm | No |