Update Traffic Matching List
unifi_update_traffic_matching_listReplace a traffic-matching list by fetching its current config, modifying it, and submitting the full object. Firewall policies using the list will adopt the new entries, so confirm changes first.
Instructions
Replace a traffic-matching list (full PUT). Fetch the current list via unifi_get_traffic_matching_list, modify, and pass as 'config'. CAUTION: firewall policies referencing this list will use the new entries; confirm with the user. IDs come from unifi_list_traffic_matching_lists.
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": {
"trafficMatchingListId": "<trafficMatchingListId>",
"config": "<config>"
},
"name": "unifi_update_traffic_matching_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Full traffic-matching-list object to write (fetch current first, then modify). 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. | |
| trafficMatchingListId | Yes | Traffic matching list ID (UUID from unifi_list_traffic_matching_lists) |