Get ACL Rule Details
unifi_get_acl_ruleRetrieves the full definition of a layer-2/switch ACL rule by ID, including source and destination filters, enforcing device, action, and index, to verify how the rule is configured.
Instructions
Get the full definition of one layer-2/switch ACL rule by ID: source/destination filters (IP- or MAC-based), enforcing-device filter, action, and index. IDs come from unifi_list_acl_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": {
"aclRuleId": "<aclRuleId>"
},
"name": "unifi_get_acl_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Site ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically. | |
| aclRuleId | Yes | ACL rule ID (UUID from unifi_list_acl_rules) |