Acheter ou louer ? / Rent vs buy in a city
acheter_ou_louerCompare renting versus buying in a Canadian city by estimating monthly cash outlay and economic cost from average two-bedroom rent, current 5-year fixed rates, and ownership costs.
Instructions
Call this when the user wonders whether to rent or buy in a Canadian city. Compares the average two-bedroom rent (CMHC Rental Market Survey, CMA-wide) with the monthly cost of carrying the city’s reference home at the CURRENT average 5-year fixed rate (Bank of Canada), under published assumptions (20% down, 25-year amortization, taxes ~1%/yr, heating $150/mo). Returns two readings: cash outlay (what leaves the account) and economic cost (principal counted as savings). Only cities inside a CMHC-covered metro have rent data.
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": {
"ville": "<ville>"
},
"name": "acheter_ou_louer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ville | Yes | City, e.g. "Montréal", "Toronto", "Winnipeg". |