invariance_case_create
Create a case to group workflow runs for one loan, audit, or claim, and get its id to link related runs.
Instructions
Create a workflow-instance Case. A case owns many runs across time, agents, and humans (one loan, one audit, one claim). Returns the case; use its id when starting runs with invariance_run_start to link them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Free-form labels for filtering and rollups, e.g. ["urgent","vip"]. Normalized (trimmed/lowercased/deduped) server-side. | |
| owner | No | Assigned team or human reviewer. | |
| opened_at | No | ISO-8601 timestamp when the case opened in the source system. Defaults to now. | |
| tenant_id | No | Your customer (the platform user / firm). Distinct from the Invariance org running the agent. | |
| end_user_id | No | Human the workflow is acting on behalf of (loan applicant, reviewer). | |
| custom_attrs | No | JSON object string of domain attributes (e.g. {"loan_id":"L_1","amount":250000}). | |
| workflow_key | Yes | Stable workflow identifier, e.g. "mortgage.refi" or "audit.sox.control". |