Get machine metrics
get_vm_metricsCPU, memory, disk and network as measured from outside the machine. Scope: vms.read.
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": {
"vm": "<vm>"
},
"name": "get_vm_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | Machine id, as returned by list_vms or create_vm. | |
| timeframe | No | Period covered, ending now. Default hour. |