search_products
Find products on DNS with site-like search: filter by category, price range, and stock status, then get city-specific prices, availability, and ratings.
Instructions
Search DNS like the site does: 24 items per page, sorting, price window, stock filter.
Per item: code, name, short specs, the live city price (with pre-discount
price, online-payment discount as a conditional estimate, credit payment),
not-sold flag with the last sale price, marketplace seller, availability
summary, the card's rating (may merge variants) and DNS's reliability label.
DNS narrows every query to one category (resolved_category);
total_found_in_category counts only there, other_categories lists the rest.
Confirm finalists with get_product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City as on dns-shop.ru ('Екатеринбург', 'Москва', 'Name, Region') or its GUID; default: DNS_CITY or Екатеринбург | |
| page | No | Result page, 24 items per page (fixed by DNS) | |
| sort | No | Order as on the site; 'reviews' = most reviewed first | popular |
| query | Yes | Search phrase as typed on the site (Russian works best) | |
| category | No | 16-hex category id (from `resolved_category` / `other_categories`); default: the category DNS picks | |
| price_max | No | Upper price bound, rubles | |
| price_min | No | Lower price bound, rubles | |
| availability | No | DNS's stock filter: 'any' = site default, INCLUDES products no longer sold; 'on_sale' = everything that can be bought (in stock or to order); 'in_stock' = in a store of the city now; 'today'/'tomorrow'/'later' = to order; 'out_of_stock' = not sold any more | any |
| with_availability | No | Also fetch each item's availability summary (+1 request) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||