Dealer inventory
ba_dealer_adsList a dealer's inventory on Bama with address, location, and up to 100 compact ads; filter and sort the fetched list by price, year, mileage, or query.
Instructions
List the ads of one dealer (showroom) on Bama: the dealer's whole inventory, up to the first 100 ads.
Use after ba_dealers. Filters and sorting run on the fetched list. Returns address, location and compact ads.
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": {
"dealer_id": "<dealer_id>"
},
"name": "ba_dealer_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | listed | |
| limit | No | Most ads to return. | |
| query | No | Only ads whose title/trim contains this text. | |
| year_to | No | Latest year, Jalali. | |
| price_to | No | Maximum price in Toman. | |
| dealer_id | Yes | Id from ba_dealers or an ad's seller.id. | |
| year_from | No | Earliest year, Jalali. |