Search DNS Shop products
dns_searchSearch dns-shop.ru products and retrieve price, rating, and stock availability. Filter results by price range, stock status, and sorting.
Instructions
Search products on dns-shop.ru. Returns id (16-hex), name, price, rating, stock (in_stock|tomorrow|order|out_of_stock|unknown), url. Prices and stock depend on session city (dns_get_location / dns_set_city). sort=price_desc ranks only the current query results (DNS order=price-desc), not the entire DNS catalog. For 3+ queries use dns_search_multi (one round-trip, shared session — avoids burst SESSION_DROP). Default compact=true. Prefer limit 5–8. Next: dns_product_details / dns_compare_products / dns_products_batch.
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": {
"query": "<query>"
},
"name": "dns_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Results page (default 1) | |
| rich | No | Alias for compact:false — return full payload | |
| sort | No | popular | price | price_desc | rating | new | discount | popular |
| limit | No | How many products to return (1–40, default 8) | |
| query | Yes | Keywords, e.g. "ноутбук lenovo" | |
| compact | No | Default true: slim fields (saves context). false or rich:true returns full nested payloads. | |
| inStock | No | If true, prefer in-stock items (stock=now) | |
| priceMax | No | Maximum price in rubles | |
| priceMin | No | Minimum price in rubles |