get_top_consumers
Identify resource-heavy containers by ranking them by CPU or memory consumption over a chosen time period.
Instructions
Get containers ranked by resource consumption (CPU or memory), useful for identifying resource-heavy containers.
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": {
"metric": "<metric>"
},
"name": "get_top_consumers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of containers to return, default 10, at most 20 | |
| metric | Yes | Resource metric to sort by: cpu or memory | |
| period | No | Time period for ranking: current (live), or one of 1h, 6h, 24h, 7d, 30d, 90d. How far back a history window may go depends on the edition. |