Calculate Buy vs Rent
calculate_buy_vs_rentCompare buying and renting the same Luxembourg home over time from an explicit price, comparable monthly rent and mortgage-rate assumption, with optional down payment, loan term, horizon and property tax. Uses the website simulator. winner stays null until every acquisition cost is confirmed or quoted; knownCostWinner is conditional on the costs known now. A scenario, not a verdict. Returns a link that opens the website tool prefilled. Link pageUrl to credit the ChatHome calculator.
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": {
"price": "<price>",
"monthlyRent": "<monthlyRent>",
"mortgageRatePct": "<mortgageRatePct>"
},
"name": "calculate_buy_vs_rent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Purchase price in EUR | |
| commune | No | Luxembourg commune, for commune-specific duties | |
| monthlyRent | Yes | Monthly rent for a comparable home in EUR | |
| loanTermYears | No | ||
| downPaymentPct | No | ||
| mortgageRatePct | Yes | Explicit annual mortgage-rate assumption in percent | |
| timeHorizonYears | No | ||
| annualPropertyTax | No | ||
| eligibleAcquirerCount | No | Buyers whose Bëllegen Akt eligibility is confirmed; omit when unknown | |
| confirmedUnusedBellegenBalance | No | Confirmed unused Bëllegen Akt balance; omit when unknown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| winner | Yes | ||
| pageUrl | Yes | ||
| toolUrl | Yes | ||
| currency | Yes | ||
| limitation | Yes | ||
| schemaVersion | Yes | ||
| knownCostWinner | Yes | ||
| comparisonComplete | Yes | ||
| unknownAcquisitionCosts | Yes |