list_agents
List Wazuh agents and filter by connection status. Retrieve agent details with sorting, pagination, and optional IP addresses.
Instructions
List all Wazuh agents with optional status filtering
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": "list_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort field with direction prefix (e.g., '-name', '+id') | |
| limit | No | Maximum number of items to return (1-100) | |
| offset | No | Pagination offset | |
| status | No | Filter by agent status: active, disconnected, never_connected, or pending | |
| include_ip | No | Include agent IP addresses in the response |