Amortization schedule
compute_amortizationAmortization schedule of a loan: interest, principal and ending balance for each year, and the balance left after a chosen year, which is the payoff figure behind a refinance or a sale. Balances drift when a schedule mixes yearly and monthly compounding or skips interest-only months; this one sums the monthly schedule and holds principal at zero during interest-only months. Send loan_amount, rate_pct and amort_years (1 to 40); optionally io_months and year. The schedule covers the whole term.
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": {
"loan_amount": "<loan_amount>",
"rate_pct": "<rate_pct>",
"amort_years": "<amort_years>"
},
"name": "compute_amortization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year whose ending balance to report, e.g. 7 | |
| rate_pct | Yes | Interest rate in percent per year, e.g. 7.25 | |
| io_months | No | Interest-only months at the start, e.g. 12 | |
| amort_years | Yes | Amortization in years, 1 to 40, e.g. 30 | |
| loan_amount | Yes | Loan amount in dollars, e.g. 300000 |