Flag an investigation case
flag_caseRecord an auditable fraud case for an account by citing fired rule IDs, severity, and evidence, enabling human review of investigation outcomes.
Instructions
Record an investigation outcome against an account. THIS WRITES TO THE CASE LOG.
Call this only after `evaluate_fraud_rules`, and only when you can cite the
rule ids that fired. The response includes an `audit` block that independently
re-runs the rules engine and compares your submission against it: if you cite
rules that are not firing, omit rule ids entirely, or set a severity the engine
does not support, the case is still recorded but flagged with warnings for the
human reviewer.
Not idempotent - each call creates a new case. Do not retry on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Written justification, minimum 20 characters. MUST name the rule ids that fired and the transaction ids they cite, e.g. 'STRUCTURING fired: five transfers TXN-001234..TXN-001238 of 9.1k-9.7k within 40h, each below the 10k reporting threshold.' A reason without evidence cannot be reviewed by a human analyst and will be marked unsupported. | |
| rule_ids | No | The rule ids that justify this case - pass `fired_rule_ids` from the evaluate_fraud_rules response verbatim. Omitting this records the case as UNSUPPORTED and unauditable. Always call evaluate_fraud_rules first so you have real ids to pass. | |
| severity | Yes | Case severity. Use the `highest_severity_fired` value returned by evaluate_fraud_rules. Do not pick a severity by intuition - if you deviate from the engine's value, the response will record a warning and you must justify it. | |
| account_id | Yes | Account identifier in the exact form 'ACC-####' (e.g. 'ACC-1013'). Copy it from a previous tool response or the user's message; do not invent or reformat it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||