item_history_summary_get
Retrieve item metadata, recent history, and min/max/avg statistics in one call to answer Zabbix trend and average questions without separate queries.
Instructions
Item metadata + last-N data points + min/max/avg statistics, in one call.
Use this for 'what was the average load on over the last hour?' / 'show me memory usage trend on '. Replaces the item_get + history_get + manual statistics loop the LLM has to write to answer trend questions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Item key (used together with host). | |
| host | No | Host name (used together with key). | |
| limit | No | Max history points to include (default 100). | |
| itemid | No | Item ID. Either itemid or (host + key) must be supplied. | |
| period | No | Time window: '1h', '6h', '1d', '7d', '30d' (default '1h'). | 1h |
| server | No | Target Zabbix server. Available: default. Defaults to 'default' if omitted. | |
| raw_json | No | Strips the security disclaimer preamble from the response so it is pure JSON. Default: false. Requires the bearer token to have 'allow_raw_json' explicitly enabled by an operator in the admin portal - tokens without that policy receive a PolicyError instead. WARNING: setting true bypasses the prompt-injection mitigation marker that wraps untrusted Zabbix data (host names, item descriptions, problem text). LLM clients (Claude, GPT, Cursor, ...) should leave this false; only programmatic non-LLM consumers (Python scripts, n8n workflows that json.loads the result) should set true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |