omni_student_loan_refinance
Calculate total lifetime interest saved, monthly payment difference, and new monthly payment when refinancing federal or private student loans to a lower APR.
Instructions
Student Loan Refinancing Calculator. Calculate interest savings and monthly payment changes when refinancing federal or private student debt into lower private interest rates. Discipline: FINANCE. Governing mathematical model / formula: Total Interest Saved = Lifetime Old Interest - Lifetime Refinanced Interest.
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of total_savings (Total Lifetime Interest Saved), monthly_diff (Monthly Payment Savings), new_monthly (New Monthly Payment) using balance (Student Loan Balance), curr_rate (Current Weighted APR (%) in %), curr_term (Remaining Term (Years) in yrs), new_rate (New Refinanced APR (%) in %), new_term (New Term (Years) in yrs). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.
WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.
DISAMBIGUATION & BOUNDARIES:
Use this dedicated specialist tool for 'Student Loan Refinancing Calculator' rather than generic dispatchers like omni_universal_query.
For multi-calculation chained jobs, use 'omni_batch_calculate'.
To inspect schema fields, see 'omni_describe_solver'.
BEHAVIOR & SAFETY:
Pure deterministic computation with machine floating-point precision.
Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.
Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.
RETURNS:
Structured JSON object containing:
status (string): "success" on valid execution or "error" if validation fails
calculator (string): "student-loan-refinance"
category (string): "finance"
name (string): "Student Loan Refinancing Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.total_savings (Total Lifetime Interest Saved): Formatted display string (e.g. '$8,540.00')
metrics.monthly_diff (Monthly Payment Savings): Formatted display string (e.g. '$71.17')
metrics.new_monthly (New Monthly Payment): Formatted display string (e.g. '$691.83')
execution_time_ms (number): Latency in milliseconds.
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": "omni_student_loan_refinance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | No | Student Loan Balance. Total balance of student loans to refinance. Default: 65000. Min: 5000. Max: 300000. | |
| new_rate | No | New Refinanced APR (%) (%). Offered private refi interest rate. Default: 5.1. Min: 2. Max: 12. | |
| new_term | No | New Term (Years) (yrs). Target repayment term. Default: 10. Min: 5. Max: 20. | |
| curr_rate | No | Current Weighted APR (%) (%). Average current interest rate. Default: 7.2. Min: 2. Max: 14. | |
| curr_term | No | Remaining Term (Years) (yrs). Years remaining on standard plan. Default: 10. Min: 2. Max: 25. |