unifi_query_isp_metrics
Retrieve WAN/ISP health and traffic metrics for specified host/site pairs and time ranges from UniFi Cloud Site Manager.
Instructions
Get WAN/ISP health and traffic metrics for specific host/site pairs and time ranges. A filtered read, not a mutation, despite being a POST on UniFi's API. If the API key lacks access to a requested site, the response reports status:partialSuccess for a mixed result or fails outright if none are accessible.
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": {
"type": "<type>",
"sites": "<sites>"
},
"name": "unifi_query_isp_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Metric interval. | |
| sites | Yes | Host/site pairs to query, each with an optional time range. |