Where to buy a chosen product
comparar_preciosUse this when the user has already chosen a product (or a few) and wants to know where to buy it or to compare its price across shops: for example after you recommended a model. Pass each product as brand + model, the way it is sold (e.g. 'Cecotec Conga 3790', 'Bosch GSB 18V-55'), or its EAN/GTIN barcode if you know it (exact match); up to 5 products in one call. For each product, coincidencia is 'exacta' (SeeStocks has that product: ofertas lists every Spanish online shop that sells it, cheapest first, with price, shipping (envio_eur null = unknown, not free), total and link, plus the 90-day price historial), 'aproximada' (no exact match: candidatos may be other products, never present them as the requested one unless the name clearly matches) or 'no_encontrado' (say SeeStocks does not have it). Prices in euros.
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": {
"productos": "<productos>"
},
"name": "comparar_precios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productos | Yes | 1 to 5 products: brand + model, or EAN/GTIN. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||