score_cross_sell
Score the cross-sell strength (product affinity) between two specific products. Returns the confidence the merchant's real co-purchase data supports for the pair, or a clear 'no signal' result when there's no qualifying rule. Use this to validate a proposed pair before recommending it, or to answer 'is X a good cross-sell for Y?', 'how strong is the affinity between X and Y?', or 'how often are X and Y bought together?'.
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_a": "<product_a>",
"product_b": "<product_b>"
},
"name": "score_cross_sell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_a | Yes | The 'antecedent' product (the one the customer already has). | |
| product_b | Yes | The 'consequent' product (the one being evaluated as a cross-sell). |