List Wazuh agents
wazuh_list_agentsList and filter Wazuh agents by status, group, version, or platform. Supports server-side filtering, sorting, and paging for precise endpoint queries.
Instructions
List and filter agents enrolled with the Wazuh manager. Use this to answer 'which endpoints are disconnected', 'what agents are in group X', or 'which agents run an outdated version'. Supports server-side filtering, sorting and paging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | Exact agent IP match. | |
| name | No | Exact agent name match. | |
| sort | No | Sort field prefixed with '-' for descending, e.g. '-lastKeepAlive'. | |
| group | No | Only agents in this group. | |
| limit | No | Max agents to return. | |
| query | No | Raw Wazuh query filter for conditions the named arguments do not cover, e.g. "os.platform=linux;rule.level>10". Use ';' for AND, ',' for OR. | |
| offset | No | Paging offset. | |
| search | No | Free-text substring match across agent fields. | |
| status | No | Restrict to these connection states. | |
| version | No | Agent version, e.g. 'v4.9.0'. | |
| os_platform | No | OS platform, e.g. 'linux', 'windows', 'darwin'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||