sevennow_promotion
Expand a 7NOW promotion into every item it covers in a given store, including offer type, terms, and run dates.
Instructions
List every item one 7NOW promotion covers. Expands one promotion into every item it applies to in a store, plus the promotion's own offer type, terms, and run dates. GET /7now/deals reads discount-to-item (here is a discounted product, here is why); this reads it the other way round (here is an offer, here is everything it covers) -- e.g. a "2 for $4" tea promotion expands to all five flavours in it. promo_id comes from GET /7now/deals' items[].promos[].id, and store_id from GET /7now/stores. An unknown promo_id returns 404.
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": {
"promo_id": "<promo_id>",
"store_id": "<store_id>"
},
"name": "sevennow_promotion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Pagination offset. Defaults to 0. | |
| limit | No | Max items returned, 1-100. Defaults to 20. | |
| promo_id | Yes | Promotion id, from GET /7now/deals' items[].promos[].id. | |
| store_id | Yes | 7NOW store id, from GET /7now/stores. |