thehive_set_case_flag
Set or clear a case flag in TheHive, with preview by default and execution only after explicit approval and confirmation.
Instructions
Set or clear the case flag 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": {
"caseId": "<caseId>",
"flag": "<flag>"
},
"name": "thehive_set_case_flag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | Yes | Whether the case should be flagged | |
| caseId | Yes | The case ID to update | |
| 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. |