Get listing details
get_listingUse this when the user wants the full details of one masin.az listing (a car or a number plate): title, price, the seller's description in Azerbaijani, all attributes such as make, model, year, mileage, fuel, gearbox, drive, colour and power, city, up to 8 photos, the dealer's name when a registered dealer sells it, and the listing link. Needs the listing number (post_no) from a search result or a masin.az listing link. Seller phone numbers are not included: the user contacts the seller through the listing page.
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": {
"post_no": "<post_no>"
},
"name": "get_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_no | Yes | Listing number, for example 279389, or a masin.az listing link such as https://www.masin.az/elanlar/279389. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| car | Yes | ||
| url | Yes | ||
| city | Yes | ||
| plate | Yes | ||
| price | Yes | Asking price; null when none is given. | |
| title | Yes | ||
| dealer | Yes | ||
| photos | Yes | ||
| post_no | Yes | ||
| category | Yes | ||
| currency | Yes | AZN (Azerbaijani manat), USD or EUR. | |
| posted_on | Yes | ||
| description | Yes | ||
| photo_count | Yes | ||
| discounted_price | Yes | Reduced price when the seller set one. | |
| other_attributes | Yes | ||
| description_truncated | Yes |