create_egress_firewall_rule
Creates an egress firewall rule for a CloudStack network using protocol, CIDR list, and optional start/end ports to control outbound traffic.
Instructions
Create an egress firewall rule for a network
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": {
"networkid": "<networkid>",
"protocol": "<protocol>"
},
"name": "create_egress_firewall_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endport | No | End port | |
| cidrlist | No | CIDR list | |
| protocol | Yes | Protocol (tcp, udp, icmp, all) | |
| networkid | Yes | Network ID | |
| startport | No | Start port |