top-clients-by-bandwidth
Identify top clients consuming bandwidth on a UniFi site. Supports combined, transmit-only, or receive-only metrics to pinpoint heavy users.
Instructions
Top N clients by bandwidth on a site (combined / tx-only / rx-only). Requires Cloud Connector (UNIFI_API_KEY_OWNER).
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": {
"name": "<name>"
},
"name": "top-clients-by-bandwidth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Site host name (e.g., 'USM') | |
| topN | No | Number of top clients to return (default: 10) | |
| metric | No | Bandwidth metric: combined (tx+rx), tx-only, rx-only | combined |
| limit | No | Max clients to fetch from API (default: 200) |