Search products
search_productsSearch the Mercadona catalog by keyword and narrow results by category or maximum unit price; Spanish search terms return better matches.
Instructions
Search the catalog by keywords (Spanish works best: 'leche semidesnatada', 'tomate frito', 'yogur griego'). First call may take ~30s while the catalog index is built; it is then cached for 12h.
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 |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| category | No | Optional filter on category path text, e.g. 'Lácteos' or 'Fruta' | |
| max_price | No | Only products with unit price ≤ this (EUR) |