List Agents
list_agentsRetrieve Wazuh manager agents with pagination, search, and status filters to inspect active, disconnected, pending, or never-connected endpoints.
Instructions
List agents from the Wazuh 5 manager API.
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 |
|---|---|---|---|
| limit | No | Page size, from 1 to 100 | |
| offset | No | Result offset, from 0 to 10000 | |
| search | No | Optional manager search string, at most 200 characters | |
| status | No | Optional agent status: active, disconnected, pending, or never_connected |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |