Configuration Import
configuration_importImports hosts, templates, and other Zabbix configurations from JSON, XML, or YAML to migrate, clone, or restore setups.
Instructions
Import configurations into Zabbix.
Imports hosts, templates, and other configurations from JSON, XML or YAML. Useful for migration, cloning, or restoring configurations.
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": {
"content": "<content>"
},
"name": "configuration_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | Per-object import rules, e.g. {'hosts': {'createMissing': true, 'updateExisting': true}}. Defaults to creating and updating every object type, without deleting anything. | |
| content | Yes | Configuration content to import. | |
| format_type | No | Import format: 'json', 'xml' or 'yaml'. | json |
| delete_missing | No | If true, the default rules also delete objects absent from the import. Ignored when 'rules' is given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||