set_firewall_rules
Overwrite all rules on an existing firewall to control inbound and outbound traffic by specifying direction, protocol, ports, and source or destination CIDRs.
Instructions
Set rules on an existing firewall (overwrites all rules). Same rule format as create_firewall.
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": {
"id": "<id>",
"rules": "<rules>"
},
"name": "set_firewall_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Firewall ID | |
| rules | Yes |