underwrite_backsolve
Find the maximum purchase price that hits a target Year-1 post-debt cash-on-cash return by iterating full underwriting runs, returning the solved price, achieved CoC, and iteration count.
Instructions
Backsolve the highest price meeting a target Year-1 post-debt cash-on-cash return, via the engine's own search.
The engine re-prices debt, tax, and equity for every candidate price (bisection over full underwriting runs); the response reports the solved price, the achieved CoC, the iteration count, and the solved case's engine metrics. No price outside a proven bracket is ever returned. (The core arguments are declared optional so missing-input refusals reach the client as payloads instead of validation crashes.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | ||
| max_price | No | ||
| min_price | No | ||
| year_built | No | ||
| max_iterations | No | ||
| target_coc_pct | No | ||
| agency_spread_pct | No | ||
| benchmark_5yr_treasury_pct | No |