French home loan renegotiation or buy-out gain
mortgage_renegotiation_fr_calculateNet gain of renegotiating a French fixed-rate home loan or having it bought out by another lender (rachat de crédit immobilier): remaining cost of the current loan after payments_made monthly payments (interest and insurance still due) minus the cost of the operation (interest and insurance of the new loan, prepayment indemnity, fees), new payment, months to recoup upfront costs and the break-even new rate. Amounts in euros, rates nominal in % a year. New loan over new_term_years or new_term_months (default: the remaining term). indemnity_rule: 'legal_max' (default, buy-out by another lender: min of 6 months of interest and 3 % of the outstanding capital, art. R313-25), 'none' (renegotiation by amendment with the same lender, or no clause) or 'contract_pct' with contract_indemnity_pct. fees: application, guarantee, broker and mortgage release fees. costs_financed=True adds the indemnity and fees to the new loan. monthly_insurance and new_monthly_insurance: borrower insurance per month (new defaults to the current one). Sums are not discounted.
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": {
"principal": "<principal>",
"annual_rate_pct": "<annual_rate_pct>",
"new_rate_pct": "<new_rate_pct>"
},
"name": "mortgage_renegotiation_fr_calculate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fees | No | ||
| principal | Yes | ||
| term_years | No | ||
| term_months | No | ||
| new_rate_pct | Yes | ||
| payments_made | No | ||
| costs_financed | No | ||
| indemnity_rule | No | legal_max | |
| new_term_years | No | ||
| annual_rate_pct | Yes | ||
| new_term_months | No | ||
| monthly_insurance | No | ||
| new_monthly_insurance | No | ||
| contract_indemnity_pct | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||