restart_agent
Restart an OSSEC agent by providing its ID to reload configuration and reconnect.
Instructions
Restart a specific OSSEC agent.
Sends a restart command to the agent, causing it to reload its configuration and reconnect.
Args: agent_id: The agent ID to restart (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": "restart_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |