scan_savings
Scan a list of existing debts and find, for EACH debt, the best qualifying market refinance offer. Returns a ranked "savings stack" with monthly and lifetime savings (net of typical closing costs) per debt plus whether refinancing is worth it, and overall totals. Use this to find refinance opportunities across a borrower's whole debt portfolio.
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": {
"state": "<state>",
"debts": "<debts>"
},
"name": "scan_savings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debts | Yes | List of existing debts to evaluate for refinancing. | |
| state | Yes | US state code (2-letter, e.g., TX). Required. | |
| credit_score | No | Borrower's credit score (300-850). Recommended for accurate matching. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack | No | The user's debts ordered by refinancing opportunity, biggest saving first. | |
| state | No | Two-letter US state code the result is scoped to (e.g. 'CA'). Null means the result was not filtered by state. | |
| totals | No | Combined opportunity across every debt in the stack. |