Get Agent
get_agentRead one Wazuh agent from the manager API by agent ID to inspect its status and configuration.
Instructions
Read one agent from the manager API.
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>"
},
"name": "get_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent id, such as 001 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |