Resolve free text to image parameters
resolve_vehicleFree. The first call for any picture of a car, including one you chose yourself: turn a request such as "red 2018 Mazda MX-5 Miata side view" into the catalog vehicle and exact get_car_image parameters (vehicle_id, make, model, year, view, color), plus alternative candidates and a confidence of high, medium or low. A make and model are read by the rules the image tools read them with, so this names the vehicle they would render. Pass params.vehicle_id as vehicle to get_car_image, create_car_image_urls or create_3d_model. Ask the human to choose when confidence is low or several candidates fit, and tell them when params.year is not the year they asked for (extracted.year).
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": {
"query": "<query>"
},
"name": "resolve_vehicle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What the human asked for, in words: year, make and model, plus the view and color when they named them, e.g. "red 2024 porsche 911 side view". | |
| market | No | Market of sale, an ISO 3166-1 alpha-2 country code such as US, GB, DE, AU or JP. Send it only when the human named a market or the vehicles are for one: some model years look different in different markets. Today every market gets the default appearance, and the answer's appearance says which was served. Omit it otherwise: the account's default market applies, if it set one. Never guess it from where the human is. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cli | Yes | ||
| data | Yes |