get_product_recommendations
Retrieve product recommendations from Shopify by product ID. Set the number of results and choose between RELATED or COMPLEMENTARY intents.
Instructions
Get product recommendations based on a product
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": {
"productId": "<productId>"
},
"name": "get_product_recommendations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first | No | Number of recommendations (1-50, default: 10) | |
| intent | No | Type of recommendations | |
| productId | Yes | Product ID to get recommendations for |