Install
openclaw skills install @vestafolio/vestafolio-credit-immobilierCompute French mortgage monthly payments (insurance included), total interest and the full amortization schedule using Vestafolio's simulator API, after asking the simulator's questions (amount borrowed, annual rate, duration, insurance rate). Use when a user asks about mortgage payments, loan cost, "quelle mensualité pour un crédit immobilier", "combien coûte un prêt de 250 000 €", amortization tables (tableau d'amortissement), or assurance emprunteur cost.
openclaw skills install @vestafolio/vestafolio-credit-immobilierFor a request within this simulator's scope:
https://www.vestafolio.com, summarize the fields and
values to be sent, and obtain the user's agreement. Existing explicit
approval for this destination and data scope is sufficient; do not ask
again for calls it already covers. Installing or selecting the skill alone
is not approval to transmit personal data. If the user declines, do not
POST; offer the simulator link for manual use without prefilled inputs.execute_code in OpenWebUI). Python can use
urllib.request; in browser-based Pyodide use await pyfetch(...) from
pyodide.http. A Python environment does not need a shell to call the API.ok must be true; read the
calculation from result. Ground the answer in that output, state relevant
assumptions and limits. Offer the simulator link when useful for checking
assumptions or exploring alternatives; respect requests for no links.Writing a code block is not execution. Do not substitute mental arithmetic, remembered tax rules, or the worked example for a tool result. If execution or network access is unavailable, or the API fails, say the calculation could not be completed and provide the simulator link; do not invent its result or recommendation. A schema GET alone is not a completed simulation.
Reply in French whenever the user speaks or writes in French.
Computes the monthly payment (assurance emprunteur included), the total cost of credit, total interest, total insurance and the complete month-by-month amortization schedule for a fixed-rate French mortgage with constant payments. The conventions below are the ones coded in the simulator.
The simulator asks these four inputs, in this order (card « Paramètres du prêt »). Ask or confirm each in French.
principal — the capital borrowed, not the
property price (apport and notary fees are outside this tool).annualRate (nominal percent; the site allows 0 to 15).durationYears (the site allows 5 to 25).insuranceRate (annual percent of the initial
capital; 0 if the user wants the payment hors assurance).monthlyPayment includes the insurance; totalPayment = monthly payment ×
months; totalInterest = total payment − principal − total insurance.Always fetch the canonical input schema first (fields, bounds, defaults):
GET https://www.vestafolio.com/api/tools/v1/credit-immobilier
Then POST the user's parameters (all amounts in euros, rates in percent):
curl --fail-with-body --silent --show-error --max-time 30 -X POST https://www.vestafolio.com/api/tools/v1/credit-immobilier \
-H 'Content-Type: application/json' \
-d '{
"principal": 250000,
"annualRate": 3.5,
"durationYears": 20,
"insuranceRate": 0.3
}'
Unknown fields are rejected (strict schema) — if you get a validation_error,
re-read the schema from the GET endpoint rather than guessing field names.
monthlyPayment — total monthly payment, insurance included; say so, and
give the split monthlyPaymentWithoutInsurance + monthlyInsurancetotalPayment — total cost of the credit over the full durationtotalInterest / totalInsurance — the two cost components beyond the
capital; useful to show what the loan really costsschedule — full monthly amortization table (month, payment, principal,
interest, remainingBalance); use it for "how much will I still owe after N
years" follow-ups rather than recomputing