Find alternatives
find_substitutesUse this when a product is out of stock, too dear, or the person wants something similar to try. Pass one product id from find_products or a teas.co.uk product link. It returns products of the same kind and caffeine, near the same strength, split into cheaper and premium by price per cup, in stock first and closest match first. limit sets how many of each come back (default 3). Next: get_product for details, compare_products to compare, add_to_basket to buy.
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": {
"id": "<id>"
},
"name": "find_substitutes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product id from find_products, or a teas.co.uk product link. | |
| limit | No | How many cheaper and how many premium alternatives, 1 to 10. Defaults to 3. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| for | Yes | ||
| how | Yes | How the alternatives were chosen. | |
| cheaper | Yes | ||
| premium | Yes |