Loan Calculator
LoanCalculatorLoan Calculator: Loan Calculator is a payment calculation API that computes monthly loan payments, total interest, and overall loan costs based on principal, annual interest rate, and term length. Include an optional down payment to determine adjusted financing balances and interest ratios. On paid plans, optional inputs add an extra-payment payoff plan with months and interest saved, payoff dates from a start date, biweekly or weekly payment figures, and an APR that includes upfront fees. (Cost: 2 credits)
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>",
"interestRate": "<interestRate>",
"loanTerm": "<loanTerm>"
},
"name": "LoanCalculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fees | No | Upfront fees deducted from the amount the borrower receives (origination, closing). Adds the APR including those fees | |
| loanTerm | Yes | The loan term in years | |
| startDate | No | Loan start date (YYYY-MM-DD), with the first payment one month later. Adds the payoff date | |
| loanAmount | Yes | The loan amount | |
| downpayment | No | Amount paid up front, subtracted from the loan amount before interest is applied | |
| extraPayment | No | Extra principal paid every month. Adds an extra_payment block with the early payoff month, months saved and interest saved | |
| interestRate | Yes | The interest rate (percentage) | |
| paymentFrequency | No | Also price the loan on a biweekly (26 a year) or weekly (52 a year) schedule. Adds a payment_frequency block; monthly figures are unchanged | monthly |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |