shop_discount_audit
Is that crossed-out price legal? Omnibus Directive (EU) 2019/2161 art. 6a arithmetic: reference = lowest applied price of the previous 30 days (CJEU C-330/23: earlier sales LOWER the reference), true_percent vs claimed, verdict COMPLIANT/MISLEADING_INFLATION/WRONG_REFERENCE/NO_REDUCTION; progressive-step clause de/fr, history and as_of are ARGUMENTS — never a fetched price. Free.
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": {
"history": "<history>",
"as_of": "<as_of>",
"sale_price": "<sale_price>"
},
"name": "shop_discount_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | ||
| history | Yes | ||
| sale_price | Yes | ||
| jurisdiction | No | eu | |
| campaign_start | No | ||
| previous_price | No | ||
| claimed_percent | No | ||
| on_market_since | No |