calculate_loan_payment
Calculate monthly EMI or mortgage payments for fixed-rate loans including total interest and payment. Optionally generate a full amortization schedule.
Instructions
Calculate monthly EMI / mortgage payment for a fixed-rate loan. Returns total interest, total payment, and optional full amortization schedule. Works for home loans, car loans, personal loans, mortgage. Example queries: 'EMI for ₹30L home loan at 8.5% for 20 years', '$300k mortgage at 6.5% for 30 years', 'what if I pay $200 extra per month on my car 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>",
"annual_rate": "<annual_rate>",
"years": "<years>"
},
"name": "calculate_loan_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | Loan principal amount. | |
| annual_rate | Yes | Decimal annual interest rate, e.g. 0.085 for 8.5%. | |
| years | Yes | Loan tenure in whole years. | |
| extra_monthly_payment | No | Additional monthly payment above EMI (reduces tenure). | |
| include_schedule | No | If true, include the full month-by-month amortization table. |