Estimate what a car is worth as a trade-in
estimate_trade_inUse this when the shopper wants to know roughly what their own car is worth as a trade-in, e.g. year: 2020, make: "Honda", model: "Accord", trim: "EX-L", mileage: 45000 (add vin when they give it). Do not use it to value a car a dealer is selling (that is vehicle_get).
It values the car the shopper wants to trade in or sell, for example to work out the net cost of a new car. With a vin it returns trade-in values for that exact trim and condition; without one it estimates from retail listings, which is less exact. A vin is decoded first, and the year, make and model it decodes as are the car valued, in vin_decoded_as. source says which (vehicle_database or comparable_listings), and guidance is a note on how firm the figure is and how it was reached.
On the estimate, market_data.trim_matched: false means the listings are of another trim, so the figure is based on similar cars, not this exact one. Without trim and mileage the comparison covers every trim and mileage of the model.
Money is in cents, as numbers. not_found means no comparable listing with a price was found for that year, make and model, so there is no figure.
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": {
"year": "<year>",
"make": "<make>",
"model": "<model>"
},
"name": "estimate_trade_in"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vin | No | VIN of the trade-in vehicle | |
| make | Yes | Vehicle make | |
| trim | No | Trim level | |
| year | Yes | Model year | |
| model | Yes | Vehicle model | |
| mileage | No | Current mileage | |
| condition | No | Vehicle condition (default: average) | average |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| freshness | No |