Category filters
dv_filtersRetrieves all filters a Divar category supports, with keys, types, Persian labels, units, and allowed options. Use before search to create precise queries beyond price and district.
Instructions
Every filter a category supports: key, type, Persian label, unit and the allowed options.
Use before dv_search when you need more than price and district. Pass the keys in filters:
number_range -> {'size': {'min': 80, 'max': 120}}, repeated_string -> {'rooms': ['دو']}, str -> {'gearbox': 'automatic'},
boolean -> {'parking': true}. lazy filters (districts, brand_model) have long option lists: use
dv_filter_options or the districts / brand_model arguments of dv_search. Rent categories filter credit
(deposit) and rent, sale categories price; both in Toman.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'. | تهران |
| category | Yes | Category slug or Persian name, e.g. 'light' (cars), 'apartment-sell', 'apartment-rent', 'mobile-phones'. |