host_status_get
Retrieves a Zabbix host's status in one call—identity, interfaces, monitoring state, active Warning+ problems, and recent item values—so operators can see what is wrong without follow-up calls.
Instructions
Single-call host status: identity + interfaces + monitored-state + active problems (severity Warning+, with disabled-trigger/host filtered out) + last 8 item values, in one self-contained JSON payload.
Use this whenever an operator asks 'what is the status of ?' or 'what is wrong on ?'. Replaces the typical 3-4 tool chain (host_get + hostinterface_get + problem_get + item_get) so a one-shot LLM prompt can answer without follow-up tool calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Zabbix host name. Tried as exact match first, falls back to substring search. | |
| server | No | Target Zabbix server. Available: default. Defaults to 'default' if omitted. | |
| host_id | No | Zabbix host ID. Either host_id or host (the name) must be provided. | |
| 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 |