Check eligibility
check_eligibilityEvaluate whether a shopper can get an offer’s price, given what you know about them: memberships, location, app or store purchase, first order, coupon clipping, Subscribe & Save and order total. Anything not supplied stays unknown and makes the verdict "uncertain" rather than "eligible".
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": {
"offer_id": "<offer_id>"
},
"name": "check_eligibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | ISO 3166-1 alpha-2 country of delivery. | |
| in_store | No | Whether the shopper will buy in a store. | |
| offer_id | Yes | Offer id from search_deals. | |
| uses_app | No | Whether the shopper will buy in the retailer’s app. | |
| will_clip | No | Whether the shopper will clip an on-page coupon. | |
| first_order | No | Whether this would be the shopper’s first order at the retailer. | |
| memberships | No | Programmes the shopper holds: amazon_prime, walmart_plus, target_circle_360, target_circle_card, costco_member, sams_club, kohls_rewards, student, store_card. Omit if unknown. | |
| order_total | No | Expected order total, for minimum-spend conditions. | |
| will_subscribe | No | Whether the shopper accepts Subscribe & Save. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | ||
| checks | No | ||
| summary | No | ||
| verdict | No |