Search listings
search_listingsSearch active listings on Bettan, newest first. All filters are optional. Returns compact results; use get_listing for the full description. When more match, the result has next: pass it as after (with the same filters) for the next page.
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_listings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Town name, e.g. "Zürich". | |
| sort | No | ||
| after | No | The `next` value from an earlier result with the same filters, for the next page. | |
| limit | No | ||
| query | No | Words to look for in the title and description, e.g. "road bike". | |
| yearMax | No | Vehicles: latest model year. | |
| yearMin | No | Vehicles: earliest model year. | |
| category | No | ||
| currency | No | Currency of minPrice and maxPrice. Defaults to the one the countries share. Listings in other currencies are left out when a price filter is set. | |
| handover | No | ||
| maxPrice | No | In `currency`. | |
| minPrice | No | In `currency`. | |
| condition | No | ||
| countries | No | ISO country codes to search in. Leave out to search all countries. | |
| mileageMax | No | Vehicles: highest mileage. | |
| mileageUnit | No | ||
| vehicleType | No | Only with category "vehicles". |