get_hosts
List Zabbix hosts filtered by role, tag, or host group to identify systems for monitoring, reporting, or automation.
Instructions
List Zabbix hosts filtered by tag or group.
Args: role: Filter by role tag value (e.g. 'main', 'edge') tag_name: Filter by arbitrary tag name tag_value: Filter by tag value (requires tag_name) group: Filter by host group name
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| group | No | ||
| tag_name | No | ||
| tag_value | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |