calculate_emi
Calculate a loan's monthly EMI with year-by-year amortization. Enter principal, rate, and tenure to get total interest and payment details for comparing loans or planning prepayments.
Instructions
Calculate EMI for a loan with year-by-year amortization schedule.
Use when computing loan EMIs, comparing loan options, or planning prepayment strategies.
Args: principal: Loan amount in INR. annual_interest_rate: Annual rate as percentage. tenure_months: Loan tenure in months (max 360). loan_type: Label for the loan type.
Returns: Standard envelope with EMI, total payment, interest, and amortization.
Notes: Uses standard reducing balance formula. Actual EMI may vary by lender.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loan_type | No | Loan type: home, personal, car, education, other | other |
| principal | Yes | Loan amount in INR | |
| tenure_months | Yes | Loan tenure in months | |
| annual_interest_rate | Yes | Annual interest rate as percentage (e.g., 8.5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||