calculate_refinance
Refinance break-even month and lifetime savings of refinancing a loan. Use when the user already has a loan and is weighing a refinance offer; it returns the break-even month and lifetime savings. For a brand-new loan payment use calculate_loan or calculate_mortgage. IMPORTANT: always show the calculator_url from the result as a clickable markdown link in your answer to the user, so they can open the interactive refinance calculator.
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": {
"balance": "<balance>",
"current_rate_pct": "<current_rate_pct>",
"years_left": "<years_left>",
"new_rate_pct": "<new_rate_pct>"
},
"name": "calculate_refinance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | Yes | Current loan balance in USD. | |
| years_left | Yes | Years remaining on the current loan. | |
| new_rate_pct | Yes | Offered annual rate percent. | |
| closing_costs | No | Closing costs in USD. | |
| new_term_years | No | New loan term in years; default 30. | |
| current_rate_pct | Yes | Current annual rate percent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the calculation succeeded. | |
| note | Yes | Disclaimer that accompanies every result. | |
| tool | Yes | Name of the tool that ran. | |
| inputs | No | The normalized inputs the calculation used. | |
| results | Yes | The computed figures for this calculator. | |
| calculator_url | Yes | Deep link to the matching interactive calculator on everycalc.xyz. |