thehive_wait_for_job
Polls a Cortex analyzer job until it reaches a terminal status, returning results within a 50-second window. Use it to check whether an analysis has finished before acting on its output.
Instructions
Wait up to 50 seconds for a Cortex analyzer job to reach a terminal status
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": {
"jobId": "<jobId>"
},
"name": "thehive_wait_for_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The Cortex job ID | |
| intervalMs | No | Polling interval in milliseconds (default: 2000) | |
| maxAttempts | No | Maximum polling attempts (default: 20, max: 60) |