Find alternatives to a product
find_alternativesFinds products like one found in a product search, from across the stores, leaving out that same product. It takes the product's id from a product search result, and an optional price ceiling. It returns products the same way a product search does, each with its price, whether it is in stock, an image and a link, and it collapses the same product sold by more than one store to one. For follow-up calls in this conversation, send the visitorId returned by a previous result unchanged. Omit it on the first call; do not invent one.
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_alternatives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The Nobi variant id from a search result; the same identity is named variantId. | |
| limit | No | How many alternatives to return, from 1 to 10. The default is 5. | |
| maxPrice | No | The most an alternative may cost, in the product's currency. Leave it out for no price limit. | |
| visitorId | No | For follow-up calls in this conversation, send the visitorId returned by a previous result unchanged. Omit it on the first call; do not invent one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| products | Yes | ||
| visitorId | No | For follow-up calls in this conversation, send the visitorId returned by a previous result unchanged. Omit it on the first call; do not invent one. |