recompute_statement_estimates
Recomputes unconfirmed statement estimates by adding baseline to modeled card inputs, without overwriting confirmed amounts.
Instructions
Fill unconfirmed statement estimates from the card-input rollup, guarded.
Only statement instances whose amount is an unconfirmed projection are recomputed, as baseline (expected non-modeled card spend) plus the rolled-up modeled card inputs for that cycle. Portal/observed amounts are never overwritten. Idempotent.
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": {
"target_obligation_id": "<target_obligation_id>"
},
"name": "recompute_statement_estimates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_obligation_id | Yes | ||
| baseline | No | ||
| db_path | No |