Minimum Cart Upsell Quantity
bpj_minimum_cart_upsell_gapFind the smallest number of whole add-on items required to cross a basket threshold and quantify the overshoot.
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": {
"subtotal": "<subtotal>",
"threshold": "<threshold>",
"price": "<price>"
},
"name": "bpj_minimum_cart_upsell_gap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| subtotal | Yes | ||
| threshold | Yes |