zabbix_get_discovery_rules
Retrieve Zabbix Low-Level Discovery (LLD) rules with filters for hosts, templates, and items. Control output fields, sorting, and include associated prototypes.
Instructions
Get Low-Level Discovery (LLD) rules from Zabbix with filtering and output options
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": "zabbix_get_discovery_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit the number of records returned | |
| filter | No | Return only discovery rules that match the given filter | |
| output | No | Object properties to be returned | |
| search | No | Return only discovery rules that match the given wildcard search | |
| hostids | No | Return only discovery rules that belong to the given hosts | |
| itemids | No | Return only discovery rules with the given item IDs | |
| sortfield | No | Sort the result by the given properties | |
| sortorder | No | Sort order | ASC |
| selectHosts | No | Return hosts that the discovery rule belongs to | |
| selectItems | No | Return item prototypes that belong to the discovery rule | |
| templateids | No | Return only discovery rules that belong to the given templates | |
| interfaceids | No | Return only discovery rules that use the given host interfaces | |
| selectGraphs | No | Return graph prototypes that belong to the discovery rule | |
| selectTriggers | No | Return trigger prototypes that belong to the discovery rule | |
| selectHostPrototypes | No | Return host prototypes that belong to the discovery rule |