invariance_case_close
Close a case with an outcome, setting its status to closed and recording the realized dollar value or loss.
Instructions
Close a case with an outcome — the common path. Equivalent to invariance_case_update with status="closed" + outcome + outcome_value_usd.
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": {
"id": "<id>",
"outcome": "<outcome>"
},
"name": "invariance_case_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| outcome | Yes | e.g. "approved", "denied", "escalated", "auto_resolved". | |
| closed_at | No | ISO-8601 close time. Defaults to now. | |
| value_usd | No | Realized $ value (positive) or loss (negative). |