French home loan early repayment (IRA)
mortgage_prepayment_fr_calculateEarly repayment (remboursement anticipé) of a French fixed-rate home loan with constant monthly payments: outstanding capital after payments_made monthly payments (schedule to the cent), prepayment indemnity (IRA), then the new payment or term, interest and insurance saved and the net saving. principal and prepayment in euros (prepayment omitted = the whole balance), annual_rate_pct nominal (at most 3 decimals), term_years or term_months of the original loan. mode: 'reduce_term' (same payment, shorter loan) or 'reduce_payment' (same end date). indemnity_rule: 'legal_max' (default: min of 6 months of interest on the amount repaid and 3 % of the outstanding capital, art. R313-25), 'none' (no clause in the contract) or 'contract_pct' with contract_indemnity_pct (% of the amount repaid, capped by the legal maximum). sale_exemption=True: sale of the home after a change of place of work, death or forced end of work of the borrower or spouse, no indemnity (art. L313-48). monthly_insurance: borrower insurance on the initial capital (saved for the months removed). Prepayment on a payment date. Not covered: variable rates, consumer credit, PTZ, deferred loans.
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>"
},
"name": "mortgage_prepayment_fr_calculate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | reduce_term | |
| principal | Yes | ||
| prepayment | No | ||
| term_years | No | ||
| term_months | No | ||
| payments_made | No | ||
| indemnity_rule | No | legal_max | |
| sale_exemption | No | ||
| annual_rate_pct | Yes | ||
| monthly_insurance | No | ||
| contract_indemnity_pct | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||