remove_agent
Permanently delete an agent from OSSEC manager, preventing future connections. Requires agent ID.
Instructions
Remove an agent from the OSSEC manager.
Permanently removes the agent registration. The agent will no longer be able to connect to the manager.
Args: agent_id: The agent ID to remove (e.g., '001').
Returns: JSON object indicating success or failure.
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": "remove_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |