Create Traffic Matching List
unifi_create_traffic_matching_listCreate a reusable traffic-matching list of IP addresses or ports that firewall policies can reference. Define the name, type, and entries to build named lists for UniFi firewall rules.
Instructions
Create a reusable traffic-matching list (named IP-address or port list referenced by firewall policies). 'config' requires name and type (IPV4_ADDRESSES / IPV6_ADDRESSES / PORTS), plus the list entries. Model it on an existing list via unifi_get_traffic_matching_list.
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": {
"config": "<config>"
},
"name": "unifi_create_traffic_matching_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Full traffic-matching-list object. Required: name, type, plus entries. See unifi_get_traffic_matching_list. A config with any value still containing "[redacted]" (how reads show credentials) is refused: put the real value in, or leave the field out. | |
| siteId | No | Site ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically. |