wafle_pricing_compute_preview
Compute final prices for SKU and quantity pairs using current store rules. Preview base price, applied rules, and total to validate pricing changes before going live, without disturbing the cart.
Instructions
Compute the final price of a list of (sku, qty) pairs given the store's current rules. Returns base price, applied rules, final price.
Use as a sanity check before publishing pricing changes — answers 'how much would I be charging?' without disturbing the live cart.
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": {
"slug": "<slug>",
"items": "<items>"
},
"name": "wafle_pricing_compute_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| items | Yes |