loan_payment
Calculate fixed-rate amortizing loan payments and total interest. Provide principal, annual interest rate, loan term, and payment frequency.
Instructions
Calculates the payment and total interest for a standard fixed-rate amortizing loan
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>",
"annualRatePercent": "<annualRatePercent>",
"years": "<years>",
"paymentsPerYear": "<paymentsPerYear>"
},
"name": "loan_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Loan term in years | |
| principal | Yes | Amount borrowed | |
| paymentsPerYear | Yes | Number of payments per year, normally 12 | |
| annualRatePercent | Yes | Annual interest rate in percent units; use 6.5 for 6.5% |