Price history of one trim
hm_price_historyRetrieve six months of market price history for a specific car trim and year, plus today's price range and prices for other years of the same trim.
Instructions
Get the monthly market-price history of one trim and year, with today's price range and the same trim's other years.
Take brand (price_brand), model, year and type_id from hm_prices rows. History is about six monthly points. For
a quick range use hm_price_estimate.
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": {
"brand": "<brand>",
"model": "<model>",
"year": "<year>",
"type_id": "<type_id>"
},
"name": "hm_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ads | No | How many cars of this trim for sale to include. | |
| year | Yes | Solar Hijri (1397) for Iranian cars, Gregorian (2017) for imports. | |
| brand | Yes | Brand slug from hm_brands, e.g. kia, saipa. | |
| model | Yes | Model slug from hm_models, e.g. kiacerato. | |
| type_id | Yes | Trim id from hm_prices rows. |