Compare store prices
compareFetches every Swedish store's price for one product from Prisjakt and PriceRunner in one list sorted by total cost, with stock and 90-day price history.
Instructions
Use this when the user wants every store's price for one product, whether a price is good or a deal right now (Black Friday, rea), or its price history and lowest price in the last 30/90 days. Not for finding products: search first unless the name carries model numbers. Offers from Prisjakt and PriceRunner, cheapest first by total (price + shipping) when shipping is known, sold-out last; a store on both sites is one row (price, shipping, total, stock and url from one offer; seen_on has each site's price). Also cheapest (new), cheapest_secondhand and cheapest_in_stock, skipping sold-out offers unless nothing else is listed; Prisjakt's price history (lowest new price per day, 30/90-day and all-time lows) and a verdict on the current price against it, naming a cheaper offer listed only on PriceRunner. A site without the product's key is looked up by EAN/GTIN, else by name; match is gtin, name or null.
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": {
"product": "<product>"
},
"name": "compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Offers to list, 1-50, default 20. | |
| product | Yes | A key from search ('prisjakt:123+pricerunner:456'), a Prisjakt or PriceRunner product page URL, or a plain product name with its model numbers, e.g. 'airpods pro 3', 'samsung qe55q80d'. Names follow search's query rules: Swedish or English, brand and model in Latin letters, no intent words (billigast, pris, köpa). The top search result carrying the model numbers is used, preferring one without variant words the name lacks (Ultra, Pro, Max) and the regional model code most stores sell; none = not found. | |
| include_used | No | Also list used and refurbished offers. Default false: new only (unknown condition counts as new). cheapest_secondhand is reported either way. | |
| in_stock_only | No | List only offers the site reports in stock. Default false. |