Reverse Lease Solver (Rate, Term, Residual, PV)
solve_lease_structureNewton-Raphson reverse solver for commercial equipment leases. Given a known target payment, solves for the unknown deal variable: the implicit interest rate (yield) buried in a quote, the term length, the residual value, or the present value of a payment stream. This is the tool for questions like "what rate am I really paying?", "what residual makes this payment work?", or "what is this payment stream worth today?". Multi-variable iterative solving that LLMs cannot do reliably by hand.
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": {
"solveFor": "<solveFor>",
"targetPayment": "<targetPayment>"
},
"name": "solve_lease_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| solveFor | Yes | The unknown variable to solve for | |
| leaseTerm | No | Term in months (omit when solving Term) | |
| interestRate | No | Annual rate percentage (omit when solving Rate) | |
| equipmentCost | No | Equipment cost in dollars (omit when solving PresentValue) | |
| paymentTiming | No | ||
| residualValue | No | Residual in dollars (omit when solving ResidualValue) | |
| targetPayment | Yes | The known periodic payment amount to solve from | |
| paymentFrequency | No |