recommend_alternatives
Recommend alternative products from the same category within a similar price range when a requested SKU is out of stock or over budget.
Instructions
Given a SKU that the customer wanted, propose available products from the same category in a similar price range. Use this when the requested product is out of stock or over budget.
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": {
"sku": "<sku>"
},
"name": "recommend_alternatives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | SKU the customer originally asked for. | |
| limit | No | Default 3. | |
| max_price | No | Optional budget cap in quetzales. |