zabbix_config
Manage Zabbix configuration objects—prototypes, discovery rules, HTTP tests, macros, value maps, and exports/imports—with preview-then-confirm writes to avoid accidental changes.
Instructions
Zabbix config API. Methods: itemprototype: create, delete, get, update; triggerprototype: create, delete, get, update; graphprototype: create, delete, get, update; hostprototype: create, delete, get, update; discoveryrule: create, delete, get, update; discoveryruleprototype: create, delete, get, update; drule: create, delete, get, update; dhost: get; dservice: get; dcheck: get; httptest: create, delete, get, update; httpstep: get; usermacro: create, createglobal, delete, deleteglobal, get, update, updateglobal; valuemap: create, delete, get, update; regexp: create, delete, get, update; correlation: create, delete, get, update; configuration: export, import, importcompare. Reads return compact defaults; writes are two-step (preview, then repeat with confirm_token). Use zabbix_describe_method for docs and parameters.
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": {
"method": "<method>"
},
"name": "zabbix_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | Method name, e.g. 'host.get' | |
| params | No | JSON-RPC params (object, or array of ids for deletes) | |
| confirm_token | No | Token from the preview call (writes) |