Related products
related_productsProducts frequently bought together with a given product (from real order history, falling back to the same category). Use for "what goes with this", "customers also bought", or to cross-sell.
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": "<product>"
},
"name": "related_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return (default 6, max 20) | |
| product | Yes | Product slug/handle to find companions for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| products | Yes | ||
| next_offset | No |