create_device_tag
Creates a device tag for a site in UniFi Fabric, specifying a label and optional hex color. The tag can be assigned to devices to group and filter them in the UniFi UI.
Instructions
Create a device tag on a site. This is a write operation that modifies live config.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. tag: required fields:
name (str): tag label shown in the UI Optional: color (str, hex color e.g. '#FF5733'). Tags can then be assigned to devices to group and filter them in the UniFi UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| host | Yes | ||
| site | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||