vsphere_get_performance
Retrieve CPU, memory, disk, and network performance counters for VMware VMs and hosts, summarized as latest, average, minimum, and maximum over chosen intervals.
Instructions
Read CPU, memory, disk and network performance counters for a VM or host.
Each counter comes back summarised (latest, average, minimum, maximum)
over the requested window. realtime gives 20-second samples for
roughly the last hour; the rollup intervals cover longer periods.
Args:
entity: VM or host name, managed object id, UUID or inventory path.
entity_type: Whether entity is a vm or a host.
interval: realtime, 5min, 30min, 2hours or 1day.
samples: Number of samples to retrieve, most recent first.
counters: Specific counters in group.name.rollup form, e.g.
cpu.ready.summation. Defaults to a standard set.
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": {
"entity": "<entity>"
},
"name": "vsphere_get_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | ||
| samples | No | ||
| counters | No | ||
| interval | No | realtime | |
| entity_type | No | vm |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||