Search Products
search_productsSearch current product prices across Serbian retail chains by product name, synonyms, or EAN barcode. Compare exact items and store formats by price; retry with broader terms when no match is found.
Instructions
Search current product prices across Serbian chains. Pass the product name in Serbian Latin (translate from Russian/English first) and optionally synonyms as extra list items. Most relevant names first, then the cheapest shelf price (price of the package as sold). If nothing is found, retry with a synonym or a more general word. Pass ean instead of query to compare one exact product across all chains and store formats: results are sorted by price, diff_rsd and diff_pct show the difference from the cheapest.
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_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ean | No | EAN barcode from earlier results: compare this exact product across all chains and formats. | |
| limit | No | Page size. | |
| query | No | Serbian Latin product name plus optional synonyms, e.g. ['pileci file']. Not needed with ean. | |
| offset | No | Number of results to skip. | |
| category | No | Optional category name or number 1-25. | |
| retail_chains | No | Optional chain or store format names to restrict results, e.g. ['Lidl', 'Maxi', 'Idea']. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| limit | Yes | ||
| total | Yes | Number of items on all pages. | |
| offset | Yes |