Calculate Payment
calculate_paymentAmortizing and interest-only payment math for a commercial loan: monthly and annual debt service, total interest over the term, and the balloon balance at maturity when the term is shorter than the amortization (the normal CRE case — a 10-year term on a 30-year schedule).
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": {
"loanAmount": "<loanAmount>",
"rate": "<rate>"
},
"name": "calculate_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | DECIMAL (0.0725 = 7.25%) | |
| termYears | No | Balloon at this point | |
| loanAmount | Yes | ||
| interestOnly | No | ||
| amortizationYears | No |