Host Update
host_updateUpdate an existing Zabbix host's technical or visible name, monitoring status, description, linked templates, or proxy; only specified fields are changed.
Instructions
Update an existing host in Zabbix.
Modifies properties of an existing host. You can change the technical name, visible name, status (enable/disable monitoring), description, linked templates, or the proxy that monitors it. Only specify the fields you want to change.
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": {
"hostid": "<hostid>"
},
"name": "host_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | New technical name. | |
| name | No | New visible name. | |
| hostid | Yes | ID of the host to update. | |
| status | No | 0=enabled, 1=disabled. | |
| proxyid | No | Proxy to monitor the host through. '0' moves monitoring back to the Zabbix server; blank leaves it unchanged. | |
| templates | No | Replaces ALL linked templates (e.g., [{'templateid': '10001'}]). Templates left out are unlinked; their items and triggers stay on the host. | |
| description | No | New description. | |
| templates_clear | No | Templates to unlink AND clear - their items, triggers and collected data are deleted from the host. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||