Dealer inventory
ba_dealer_adsBrowse a Bama showroom’s vehicle inventory, returning up to 100 ads with sorting and filters for price, year, and keywords. Includes the dealer’s address, location, and compact ad details.
Instructions
List the ads of one dealer (showroom) on Bama: the dealer's whole inventory, up to the first 100 ads.
Use it after ba_dealers when the user wants to browse one showroom. Filters and sorting run on the fetched list. Returns the dealer's address and location plus compact ads; call ba_ad for one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | listed | |
| limit | No | Most ads to return. | |
| query | No | Only ads whose title or trim contains this text (any language). | |
| year_to | No | Latest year, Jalali. | |
| price_to | No | Maximum price in Toman (ads with a price only). | |
| dealer_id | Yes | Dealer id from ba_dealers or an ad's seller.id. | |
| year_from | No | Earliest year, Jalali. |