Loan & Mortgage Calculator
loan_calculatorAmortizing loan or mortgage: periodic payment, total interest, payoff date, effect of extra payments and a yearly or full payment schedule. Any payment frequency.
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": {
"principal": "<principal>",
"annual_rate_pct": "<annual_rate_pct>",
"years": "<years>"
},
"name": "loan_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | ||
| schedule | No | yearly | |
| principal | Yes | ||
| start_date | No | ||
| extra_payment | No | ||
| annual_rate_pct | Yes | ||
| payments_per_year | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |