calculate_housing_loan_comparison
Compare multiple mortgage offers by total cost to find the best one. Input loan amount and offer details, get the cheapest option and full comparison.
Instructions
Compare multiple mortgage offers sorted by total cost. Returns: {offers_count, best_offer, comparison}. See list_bundles for related 'immobilier' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loan_amount | Yes | Loan amount in EUR | |
| offers | Yes | List of mortgage offers to compare |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |