Docker Container Stats
docker_statsRead per-container Docker resource usage—CPU, memory, network, and block I/O—ranked by consumption, served from live WebSocket data or SSH fallback.
Instructions
Read-only. Per-container resource usage (CPU %, memory, network IO, block IO), hungriest first. Prefers fresh data from the live WebSocket subscription (subscribe to unraid://live/docker-stats to keep it warm) and falls back to docker stats --no-stream over SSH; the response says which source served it (live rows are labelled by container id, SSH rows by name). The SSH path requires UNRAID_SSH_* configuration. For host-wide CPU/memory use system_metrics; for the host's busiest processes use process_list.
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": "docker_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | `detailed` returns full JSON instead of readable text. | concise |