Offers and sales
get_promotionsUse this when the person asks about offers, discounts, codes or what is on sale at teas.co.uk. It lists products on sale now with the usual price and when the sale ends (biggest saving first, in stock only), any offer codes teas.co.uk has made public, and the free UK delivery threshold. Codes that are not public are never shown, and checkout on teas.co.uk applies the final price. Next: get_product for details, quote_cart for a total, add_to_basket to buy.
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": "get_promotions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many products on sale to list, 1 to 20. Defaults to 10. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| on_sale | Yes | ||
| free_delivery | Yes | ||
| on_sale_total | Yes | How many products are on sale in total. | |
| public_offers | Yes |