Get Item History
zabbix_get_item_historyReads raw Zabbix item history over a specified time range with pagination, auto-resolving the history type from the item's value type unless overridden.
Instructions
Read raw history for a Zabbix item over a time range. Supports pagination. historyType is OPTIONAL — when omitted the server auto-resolves it from the item's value_type via item.get. Pass historyType explicitly only if you need to override (rare).
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": {
"itemId": "<itemId>"
},
"name": "zabbix_get_item_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| till | No | End time (ISO date/time or unix timestamp) | |
| since | No | Start time (ISO date/time or unix timestamp) | |
| itemId | Yes | Item ID | |
| pageSize | No | Items per page (default: 50, max: 500) | |
| historyType | No | History storage type. Optional: omit to auto-resolve from item value_type. Explicit values: float (0), string (1), log (2), uint (3), text (4), binary (5). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Array of history rows (clock, value, ...) | |
| query | No | ||
| lastSeen | No | ||
| pagination | Yes | ||
| resolvedHistoryType | No | History type used for the query (echoed when auto-resolved from item value_type) |