Search Alphamega products
search_productsFind products in the Alphamega catalogue by free-text query, brand, category, diet, price, promotion, or stock, and return compact records for price and availability checks.
Instructions
Search the Alphamega catalogue by free text and/or filters. Returns compact product records (id, title, brand, price, unit price, promotion, barcode, category, stock). Omit query to browse a category or list promotions.
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 |
|---|---|---|---|
| diet | No | Dietary labels the product must carry (all of them). | |
| sort | No | Result order; defaults to relevance. Price sorting uses pack price, not unit price. | |
| limit | No | Products to return (default 10). | |
| query | No | Free-text query in English or Greek, e.g. "halloumi" or "γάλα". Omit to match everything. | |
| brands | No | Exact brand names (case-sensitive, as returned in `brand` or the brands facet), e.g. ["Charalambides Christis"]. Several brands are OR-ed. | |
| offset | No | Number of results to skip, for paging. | |
| category | No | Category path from `list_categories`, e.g. "chilled > fresh milk, cooking cream & eggs". Matches the category and everything below it; case-insensitive. | |
| price_max | No | Maximum pack price in EUR. | |
| price_min | No | Minimum pack price in EUR. | |
| promotion | No | Only products in this promotion; "any" means any current promotion. | |
| in_stock_at | No | Only products in stock at this store (or at any store). Omit to include out-of-stock products; each product reports `in_stock` either way. | |
| include_facets | No | Also return counts of brands, subcategories, dietary labels and promotions among the matches — useful to discover exact brand names. |