Statements: Apply parsed statement fields to an account
apply_statement Apply user-confirmed statement fields to one of the user's accounts.
Premium-only. Only the fields passed are written; each is re-validated
server-side (same bounds as the web + REST paths) under a row lock.
Args:
account_id: The account to update (the caller's own, active).
balance: New balance.
interest_rate: APR percent, 0-100, up to 3 decimals.
credit_limit: Credit limit (>= 0).
minimum_payment: Minimum payment (>= 0).
institution: Institution name (max 200 chars).
original_balance: Original loan/balance amount (>= 0).
term_months: Loan term in months (1-600).
loan_start_date: Loan start date, YYYY-MM-DD.
loan_end_date: Loan maturity/payoff date, YYYY-MM-DD.
Returns:
``{"success": True, "account_id": ..., "updated_fields": [...],
"new_balance": ...}`` on success, or ``{"error": "..."}`` (not
Premium, account not found, bad value, or nothing to apply).
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": {
"account_id": "<account_id>"
},
"name": "apply_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | No | ||
| account_id | Yes | ||
| institution | No | ||
| term_months | No | ||
| credit_limit | No | ||
| interest_rate | No | ||
| loan_end_date | No | ||
| loan_start_date | No | ||
| minimum_payment | No | ||
| original_balance | No |