Compare one ingredient across chains
compare_ingredientCompare an ingredient's price across all Norwegian grocery chains for a selected week, using historical data to show how current offers stack up against earlier baseline prices.
Instructions
Price one ingredient across every chain this week, with a baseline from earlier weeks. Two distinct fields: discount_pct is the retailer's OWN claim from the flyer's pre-price and is null for most offers; vs_baseline_pct is our inference from stored history. Do not present the second as the retailer's claim.
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": {
"ingredient": "<ingredient>"
},
"name": "compare_ingredient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | No | ||
| ingredient | Yes | Canonical ingredient key |