Debt payoff calculator
calculate_debt_payoffUse when a user asks how long it takes to pay off a credit card or loan, what payment clears it by a date, or avalanche vs snowball, e.g. "how long to pay off $5,000 at 24% paying $200 a month?" or "what payment pays off my credit card in 2 years?". One debt: months to pay off and total interest at a monthly payment, or the payment needed to be debt free in target_months. Several debts: send debts (each with name, balance, apr, min_payment) and extra_payment to compare the avalanche and snowball methods.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_debt_payoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apr | No | Yearly interest rate percent (one debt). | |
| debts | No | Several debts, up to 20. | |
| balance | No | What you owe in USD (one debt). | |
| strategy | No | Several debts: which method (default compare). | compare |
| extra_payment | No | USD a month on top of all minimums (several debts). | |
| target_months | No | Months to be debt free (or send monthly_payment). | |
| monthly_payment | No | USD paid each month (or send target_months). |