Optimize home-loan tax regime (calculator)
optimize_home_loan_tax_regimeCompare a home-loan borrower's income tax under the OLD vs NEW regime (tax year 2026-27, Income-tax Act, 2025) and recommend which regime saves more income tax. Deterministic slab math — not tax advice. Use when the user asks "old or new tax regime", "home-loan tax benefit", or "section 80C / 24(b) deduction". Models interest (s.22, old 24(b)) + principal (s.123, old 80C); a joint loan is the user's own share. The response lists benefits it does NOT model. Includes a disclaimer field to show.
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": {
"annualIncome": "<annualIncome>",
"homeLoanInterest": "<homeLoanInterest>",
"homeLoanPrincipal": "<homeLoanPrincipal>"
},
"name": "optimize_home_loan_tax_regime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ageBand | No | Taxpayer age band — raises the OLD-regime basic exemption (senior 60–80 → ₹3L, super-senior 80+ → ₹5L). New regime unaffected. Defaults to below60. | |
| other80C | No | Other s.123 (old 80C) investments in INR (PF, ELSS, insurance, etc.). | |
| jointLoan | No | Joint loan: amounts are the whole loan's; result is the user's own share (equal split). | |
| saleValue | No | NRI only — sale consideration in INR for the TDS computation. | |
| annualRent | No | Annual rent received in INR for let_out (taken as 0 if omitted). | |
| isSalaried | No | Whether the taxpayer is salaried (gets the standard deduction). | |
| hasForm15CB | No | NRI only — whether Form 15CB CA-attestation is already in hand. | |
| indexedCost | No | NRI only — cost of acquisition (unindexed for an NRI). When omitted, TDS computed on full sale value. | |
| annualIncome | Yes | Annual gross income in INR EXCLUDING house property (salary + other income). | |
| propertyType | No | Whether the property is self-occupied or let out. | self_occupied |
| holdingMonths | No | NRI only — holding period in months. ≤24 is STCG; >24 is LTCG. | |
| nroBalanceUsd | No | NRI only — NRO account balance in USD equivalent for the repatriation cap math. | |
| ytdRemittedUsd | No | NRI only — FY-to-date USD already remitted under the $1M cap. | |
| residencyStatus | No | Default resident. Pass nri to get TDS (s.393(2), old §195) + LRS-cap math in the response. | |
| homeLoanInterest | Yes | Annual home-loan interest paid (INR). | |
| homeLoanPrincipal | Yes | Annual home-loan principal repaid (INR) — counts toward s.123 (old 80C). | |
| countryOfResidence | No | NRI only — DTAA article lookup hint. Free-form country name. | |
| otherOldRegimeDeductions | No | Other OLD-regime-only deductions as a lump (HRA exemption, 80D, NPS 80CCD(1B), etc.). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | ||
| nri | No | ||
| old | Yes | ||
| cards | Yes | ||
| notes | No | ||
| lawBasis | No | ||
| jointLoan | Yes | ||
| disclaimer | Yes | ||
| notModeled | Yes | ||
| assumptions | Yes | ||
| attribution | Yes | ||
| recommended | Yes | ||
| annualIncome | Yes | ||
| annualSaving | Yes | ||
| propertyType | Yes | ||
| residencyStatus | No | ||
| homeLoanTaxBenefitOld | Yes |