Price estimate for one trim and year
hm_price_estimateRetrieve the market price range and recent monthly price change for one car trim in a given model year using its trim ID and year.
Instructions
Get the market price range and recent monthly change for one trim in one model year.
Take type_id and year from hm_prices rows. monthly_change_percent is only given for some trims. For monthly history use hm_price_history.
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": {
"type_id": "<type_id>",
"year": "<year>"
},
"name": "hm_price_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Solar Hijri (1397) for Iranian cars, Gregorian (2017) for imports. | |
| type_id | Yes | Trim id from hm_prices rows. |