get_vm_metrics
Retrieve historical CPU, memory, network, and disk I/O metrics for Proxmox VMs with customizable timeframes from one hour to one year.
Instructions
Get historical metrics/performance data for a VM.
Args: vmid: The VM or container ID node: The Proxmox node name (optional) timeframe: Time range for metrics - one of: - 'hour': Last hour (default) - 'day': Last 24 hours - 'week': Last 7 days - 'month': Last 30 days - 'year': Last year
Returns time-series data including:
CPU usage over time
Memory usage over time
Network I/O over time
Disk I/O over time
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": {
"vmid": "<vmid>"
},
"name": "get_vm_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmid | Yes | ||
| node | No | ||
| timeframe | No | hour |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||