run_active_response
Execute active response commands on agents to block threats, disable accounts, or restart services for immediate security action.
Instructions
Execute an active response command on an agent.
Triggers a configured active response action on a specific agent. Common commands include firewall-drop, host-deny, disable-account, etc.
⚠️ WARNING: This performs real actions on the agent! Ensure you understand the command's effect before executing.
Args: agent_id: Target agent ID (e.g., '001'). Use '000' for the manager. command: Active response command name (e.g., 'firewall-drop', 'host-deny', 'restart-ossec', 'disable-account'). arguments: Optional space-separated arguments (e.g., IP to block: '10.0.0.5').
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>",
"command": "<command>"
},
"name": "run_active_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| command | Yes | ||
| arguments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |