find_similar_products
Find provider-suggested alternatives to a product ID using keywords, then compare quantities, units, and store prices; add coordinates to filter by distance.
Instructions
Find provider-suggested alternatives to a provider product ID. Alternatives are not exact product matches. Compare quantities and units before comparing prices. Optional distance is in meters and requires both coordinates.
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": {
"product_id": "<product_id>",
"keywords": "<keywords>"
},
"name": "find_similar_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| distance | No | ||
| keywords | Yes | ||
| latitude | No | ||
| longitude | No | ||
| product_id | Yes |