create_firewall_rules
Add firewall rules to a Lighthouse instance, specifying protocol, port, CIDR block, and action (ACCEPT/DROP) to control traffic.
Instructions
为实例添加防火墙规则
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": {
"region": "<region>",
"instanceId": "<instanceId>",
"firewallRules": "<firewallRules>"
},
"name": "create_firewall_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | 地域 | |
| instanceId | Yes | 实例 ID | |
| firewallRules | Yes | 防火墙规则列表 |