calculate_credit_card_payoff
Months and interest to clear a credit card balance with a fixed monthly payment, compared with adding an extra monthly payment. A payment that never clears the balance returns null months and interest. Use when the user wants to clear a credit card balance and asks how long it takes or how much interest it costs. For several different debts use calculate_debt_payoff. 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 credit card payoff 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>",
"annual_rate_pct": "<annual_rate_pct>",
"monthly_payment": "<monthly_payment>"
},
"name": "calculate_credit_card_payoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | Yes | Card balance in USD. | |
| extra_payment | No | Extra payment added each month in USD; default 0. | |
| annual_rate_pct | Yes | Card APR percent. | |
| monthly_payment | Yes | Base monthly payment in USD. |
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. |