Search listings
search_advertsSearch listings on the marketplace. Results never include seller contacts.
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_adverts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Free-text search, e.g. 'iphone 15 128gb'. | |
| language | No | Language of listing texts: one of mn. Default mn. | |
| location | No | City or district name. | |
| ordering | No | ||
| price_max | No | ||
| price_min | No | ||
| attributes | No | Category filters from get_category_filters: {key: value} for select, {key: [values]} for multiselect, {key + '_min' / key + '_max': number} for range. | |
| page_token | No | next_page_token of the previous result, same filters. | |
| category_id | No | Category from list_categories. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| total | No | Matching listings, may be capped by the site. | |
| adverts | Yes | ||
| location | No | Location the search was narrowed to. | |
| next_page_token | No | Pass to search_adverts for more results. |