Get node usage
get_node_usageLive CPU and memory usage per node, measured by metrics-server right now (the twin of ankra cluster top nodes), with each node's allocatable capacity and the percentage in use. Never answered from a cache, so a result is always a fresh measurement; fails when the agent is unreachable or metrics-server is not installed. Use this to prove resource pressure before scaling; get_cluster_status only gives cluster-wide percentages. Read-only.
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": "get_node_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many rows to return (default 25). | |
| sort_by | No | Order the rows by CPU (default) or memory, highest first. | |
| cluster_id | No | UUID of the target cluster. Optional when a cluster is selected. | |
| cluster_name | No | Exact name of the target cluster. Optional when a cluster is selected. |