manager
Issue a raw GET request to the Wazuh API and return the response verbatim. Use it to query agent, syscollector, and cluster endpoints directly, preserving non-2xx status codes for accurate troubleshooting.
Instructions
Issue a GET against the Wazuh manager API and return the response unchanged.
A deliberately thin passthrough. The manager API is the volatile half of Wazuh 5 and breaks further at GA (/var/ossec moves to /var/wazuh-manager, clustering becomes the default, agent id 000 disappears), so this tool adds no interpretation on top of it.
Non-2xx responses are returned as they are, status code included. In Wazuh 5 several 4.x endpoints are gone and their 404 is the correct answer, not a failure to hide:
/rules 404, the Engine has no RULE content type any more
/manager/logs 404
/manager/stats/remoted 404 Verified working: /agents, /syscollector/{agent_id}/... Changed response schemas: /cluster/healthcheck (no
enabledfield), /cluster/nodes (nonode_typefield).
The security root is restricted to /security/users/me and
/security/users/me/policies — enough to tell RBAC filtering apart from an
empty deployment when /agents returns less than expected, without
enumerating the deployment's accounts, roles and policies through a tool
meant for agent and event data.
Args: path: Manager API path, e.g. "/agents". params: Optional query parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |