thehive_run_analyzer_and_wait
Run a Cortex analyzer on a TheHive observable and poll until it reaches a terminal status. Previews by default; execution requires dryRun=false and confirm=true.
Instructions
Run a Cortex analyzer on an observable and wait up to 50 seconds for a terminal job status Requires operator authority (THEHIVE_ALLOW_DESTRUCTIVE_TOOLS=true). Preview by default. Execution requires dryRun=false and confirm=true after approval.
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": {
"analyzerId": "<analyzerId>",
"cortexId": "<cortexId>",
"observableId": "<observableId>"
},
"name": "thehive_run_analyzer_and_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview this mutation by default. Set false only to execute an approved operation. | |
| confirm | No | Set true only after the operator approves this exact operation. | |
| cortexId | Yes | The Cortex server ID (e.g. 'cortex') | |
| analyzerId | Yes | The Cortex analyzer ID to run | |
| intervalMs | No | Polling interval in milliseconds (default: 2000) | |
| maxAttempts | No | Maximum polling attempts (default: 20, max: 60) | |
| observableId | Yes | The observable ID to analyze |