hostgroup_get
Retrieve Zabbix host groups using group IDs, search criteria, or filters. Returns a JSON-formatted list for integration with AI assistants or monitoring workflows.
Instructions
Get host groups from Zabbix.
Args:
groupids: List of group IDs to retrieve
output: Output format
search: Search criteria
filter: Filter criteria
Returns:
str: JSON formatted list of host groups
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filter | No | ||
groupids | No | ||
output | No | extend | |
search | No |
Input Schema (JSON Schema)
{
"properties": {
"filter": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Filter"
},
"groupids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Groupids"
},
"output": {
"default": "extend",
"title": "Output",
"type": "string"
},
"search": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Search"
}
},
"type": "object"
}