vibemk_create_host_hostgroup_rule
Create a host group rule to assign hosts to host groups based on matching conditions like host name, tags, or labels.
Instructions
🏠 Create host group rule - Assign hosts to host groups based on conditions
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": {
"host_groups": "<host_groups>"
},
"name": "vibemk_create_host_hostgroup_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Folder path | / |
| comment | No | Rule comment | |
| host_groups | Yes | List of host group names to assign | |
| host_conditions | No | Conditions to match hosts (optional, empty = all hosts) |