Find eligible coupons
find_eligible_couponsFinds coupons whose configured rules match the supplied customer and cart context and excludes offers needing missing facts. Use it before quoting or redemption to discover applicable coupons.
Instructions
Discover coupons whose configured rules match the known customer/cart context. This does not calculate final totals, reserve budget, or consume a coupon. Missing context intentionally excludes coupons that require that fact. public defaults to true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_eligible_coupons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | ||
| pagination | No |