search_products
Find products by keyword across BILLA, SPAR, HOFER and dm, then filter by diet, sale status or max price and sort by price or unit price for grocery comparisons.
Instructions
Search products by keyword at every chain (or the given chains)
at once, e.g. "hafermilch" or "milka". Put a brand in the query.
Returns one entry per chain: {total, next_offset, has_more, hits}, or
a note when the chain was left out or sorted here.
Args: query: Free-text search term, German works best. diet: Keep only vegan, vegetarian, organic, gluten_free or lactose_free products. on_sale: Only products on sale right now. max_price: Highest price in EUR. sort: "" (relevance, default), "price" (cheapest first) or "unit_price" (cheapest per kg / l / piece, for comparing). Where a chain cannot sort itself it is done on its 60 most relevant hits, which a note then says. rows: Hits per chain, at most 20. Default 5. offset: Paging offset per chain. Default 0.
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": "search_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diet | No | ||
| rows | No | ||
| sort | No | ||
| query | Yes | ||
| chains | No | ||
| offset | No | ||
| on_sale | No | ||
| max_price | No |