Search cars for sale
search_carsUse this when the user wants to find cars for sale in Azerbaijan on masin.az. Filters by make, model, year, price, the city where the car is offered, fuel, gearbox, drive, condition, colour, mileage or a keyword, and sorts the results. Returns up to 20 active listings per page with price, year, mileage, fuel, gearbox, city, a photo and the listing link. Makes and models are matched by name and common spellings work; call list_makes_and_models when unsure what masin.az has. Results never include seller contact details: the listing page has them. Use get_listing for the full details of one car.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_cars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fuel | No | Fuel type. | |
| make | No | Car make, for example Toyota, Mercedes, Hyundai, Kia or LADA (VAZ). Common spellings such as Mersedes or Hundai are understood. | |
| page | No | Page of results, starting at 1. | |
| sort | No | Order of the results: newest first (default), price low to high, price high to low, newest model year first, or lowest mileage first. | |
| color | No | Body colour. | |
| drive | No | Driven wheels. | |
| limit | No | Listings per page, 1 to 20. Default 10. | |
| model | No | Model of that make, for example Camry, Land Cruiser Prado or E 220. Needs make. A partial name such as Prado matches every model containing it, and a class or series such as E-Class matches all its models. | |
| gearbox | No | Gearbox type. | |
| keyword | No | Words that must appear in the title or description, for example "panorama" or "kredit". Listings are written in Azerbaijani, so use Azerbaijani words. | |
| year_max | No | Latest model year, for example 2020. | |
| year_min | No | Earliest model year, for example 2015. | |
| condition | No | new or used. | |
| price_max | No | Highest price, in price_currency. | |
| price_min | No | Lowest price, in price_currency. | |
| mileage_max | No | Highest mileage in kilometres. | |
| listing_city | No | City or district where the car is offered, for example Bakı, Sumqayıt or Gəncə (Latin spellings such as Baku also work). It filters the listings and is not the user's location. | |
| price_currency | No | Currency of price_min and price_max. Default AZN. Listings priced in another currency are compared at fixed approximate rates (1 USD = 1.7 AZN, 1 EUR = 1.95 AZN). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| limit | Yes | ||
| total | Yes | Matching active listings in all pages. | |
| matched | Yes | How the make, model and city names were understood. | |
| has_more | Yes | True when a next page has more results. | |
| listings | Yes |