unifi_create_acl_rule
Create firewall rules to control network traffic by allowing or blocking specific protocols on UniFi networks.
Instructions
Create a new ACL (firewall) rule
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": {
"siteId": "<siteId>",
"type": "<type>",
"name": "<name>",
"enabled": "<enabled>",
"action": "<action>",
"index": "<index>"
},
"name": "unifi_create_acl_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site ID | |
| type | Yes | Rule type | |
| name | Yes | Rule name | |
| enabled | Yes | Enable the rule | |
| action | Yes | Rule action | |
| index | Yes | Rule priority index (lower = higher priority) | |
| description | No | Rule description | |
| protocolFilter | No | Protocols: TCP, UDP |