Trade-in position
trade_in_positionSizes up a trade-in from written offers (CarMax, Carvana, dealers) and what's still owed: the best offer still open, which is the floor a dealer's trade number is compared with, the equity or negative equity, and, with a state and vehicle price, the sales tax the trade saves where the state credits it. Use it before visiting dealers; check_quote compares a quote's trade allowance with these offers.
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": {
"offers": "<offers>"
},
"name": "trade_in_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | |
| state | No | Two-letter state code, for the tax the trade saves | |
| 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 | |
| offers | Yes | Written trade-in offers, each with who made it, the amount and its last day | |
| payoff | No | What is still owed on the car being traded | |
| doc_fee | No | Doc fee; leave out to assume the state's cap, or a typical $450 where there is none | |
| tax_rate | No | Combined sales tax rate as a decimal, local tax included (0.07 for 7%); leave out to use the state's rate | |
| vehicle_price | No | The price of the car being bought, for the tax the trade saves |