query_metrics_history
History (or trends for windows >48h) of up to 5 matching items, downsampled to min/avg/max buckets.
Instructions
History (or trends for windows >48h) of up to 5 matching items, downsampled to min/avg/max buckets.
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": {
"host": "<host>",
"item": "<item>"
},
"name": "query_metrics_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Host name (exact or wildcard) | |
| item | Yes | Item key or name fragment, e.g. 'system.cpu.load' or 'Memory' | |
| minutes | No | Look-back window in minutes | |
| max_points | No |