Read an agent's applied configuration
wazuh_agent_configFetch the live configuration an agent has loaded for a specified component, such as syscheck or client, to confirm group changes or centralised policies reached the endpoint.
Instructions
Fetch the configuration a running agent has actually loaded for one module — useful for confirming a group change or centralised config reached the endpoint. Common pairs: component='syscheck' configuration='syscheck', component='wmodules' configuration='wmodules', component='agent' configuration='client'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>",
"component": "<component>",
"configuration": "<configuration>"
},
"name": "wazuh_agent_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID, e.g. '001'. | |
| component | Yes | Wazuh daemon or component to read. | |
| configuration | Yes | Configuration section, e.g. 'syscheck', 'client', 'wmodules'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||