Out-the-door estimate
out_the_doorItemizes the out-the-door price of a car from its selling price: rebates, doc fee, add-ons, sales tax with the state's rules and, given a city or county, its local rate (7,000+ places in 23 states), and title and registration. Optionally adds a trade-in (and the tax it saves where the state credits it), a down payment and a loan payment, and compares the doc fee with the state's cap and the total with a walk line. Use it for the total cost of a price; for a dealer's quote, use check_quote. Returns each line, the total and a planner link.
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": {
"price": "<price>",
"state": "<state>"
},
"name": "out_the_door"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apr | No | Loan APR in percent, for the payment | |
| city | No | City or county in the state's rate table (23 states; state_rules says which), like Pittsburgh or Allegheny County: sets the combined rate from the state's own rate file. Where a city is in several counties (Chicago, Milwaukee), give county too. A place name only, never an address or ZIP | |
| down | No | Cash down payment | |
| price | Yes | Vehicle selling price before rebates, fees and tax | |
| state | Yes | Two-letter state code (DC included), like PA | |
| county | No | County from the state's list (Pennsylvania, Nevada, Wisconsin; state_rules lists them), like Allegheny County: sets the combined rate. A county name only, never an address or ZIP | |
| add_ons | No | Dealer add-ons and their prices (paint protection, VIN etching, a service contract) | |
| doc_fee | No | Doc fee; leave out to assume the state's cap, or a typical $450 where there is none | |
| rebates | No | Maker rebates taken off at signing | |
| city_mpg | No | Washington DC only: the vehicle's EPA city MPG, with its weight | |
| electric | No | Washington DC only: a battery-electric vehicle (its own, lower column) | |
| tax_rate | No | Combined sales tax rate as a decimal; leave out to use the state's rate | |
| condition | No | New or used: a state's tax can apply to new cars only (Oregon) | new |
| title_reg | No | Title and registration; leave out for a typical $250 | |
| walk_line | No | The walk line, out the door | |
| other_fees | No | Any other fees | |
| term_months | No | Loan term in months, for the payment | |
| trade_offer | No | Best written trade-in offer | |
| trade_payoff | No | What is still owed on the trade-in | |
| buyer_in_chicago | No | Illinois only: the buyer's address is in the City of Chicago (the city and county given are the dealer's) | |
| vehicle_weight_lbs | No | Washington DC only: the vehicle's unladen weight in pounds (DC's excise rate goes by weight and city MPG) | |
| buyer_in_cook_county | No | Illinois only: the buyer's address is in Cook County |