UniFi Drive: Get I/O Stats
unifi_drive_get_io_statsFetch NAS I/O throughput summaries over a chosen window—pool and per-disk read/write KB/s, IOPS, temperature range, bad sectors, and live network rate—to spot busy periods or disk issues.
Instructions
Throughput over a window, reduced to average / peak (with when) / latest: pool read and write KB/s and IOPS, plus per-disk throughput, temperature range and any bad sectors added during the window. Also the live network rate. Use it for 'is the NAS busy?', 'what is hammering it?', or 'did a disk heat up overnight?'. Returns summaries, not the raw series, unless points is set.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unifi_drive_get_io_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disks | No | Include per-disk series summaries. Defaults to true. | |
| points | No | Also return the pool's raw read/write KB/s arrays (one value per sample, null for a gap). Off by default: a 30d window is 120 points per series. | |
| window | No | Time window: "1h" (1-minute samples), "24h" (15-min), "7d" (hourly) or "30d" (6-hourly). Defaults to 24h. | 24h |