graph_render
Render a Zabbix graph as a PNG image and return a base64 data URI for AI models to display and interpret. Use graph_get to find graph IDs first.
Instructions
Render a Zabbix graph as a PNG image. Returns a base64-encoded data URI that multimodal AI models can display and interpret directly. Use graph_get to find graph IDs first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Image width in pixels, 100-4096 (default: 800) | |
| height | No | Image height in pixels, 50-2048 (default: 200) | |
| period | No | Time period: '1h', '6h', '1d', '7d', '30d' (default: '1h') | 1h |
| server | No | Target Zabbix server. Available: default. Defaults to 'default' if omitted. | |
| graphid | Yes | Zabbix graph ID (numeric) | |
| 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 |