rentVsBuy
Takes rent, price, down payment, loan terms and growth assumptions and returns the year-by-year net worth of buying against renting, with the break-even year. Example input: {"rent":30000,"rentGrowth":5,"price":8000000,"downPayment":1600000,"annualRate":8.5,"months":240,"appreciation":5,"investReturn":10,"years":20}
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": {
"rent": "<rent>",
"rentGrowth": "<rentGrowth>",
"price": "<price>",
"downPayment": "<downPayment>",
"annualRate": "<annualRate>",
"months": "<months>",
"appreciation": "<appreciation>",
"investReturn": "<investReturn>",
"years": "<years>"
},
"name": "rentVsBuy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rent | Yes | Current monthly rent in rupees | |
| price | Yes | Property price in rupees | |
| years | Yes | Years to compare over | |
| months | Yes | Loan tenure in months | |
| annualRate | Yes | Annual interest rate in percent, for example 8.5 | |
| rentGrowth | Yes | Yearly rent increase in percent | |
| downPayment | Yes | Down payment in rupees | |
| appreciation | Yes | Yearly property price growth in percent | |
| investReturn | Yes | Yearly return in percent if the down payment is invested instead |