explain_drift
Explains a single drift alert by returning prior and current confidence, support, lift, and a plain-language summary of what changed for the product pair since the last mining run.
Instructions
Explain ONE drift alert: return its prior and current confidence (plus support, lift, and order sample count when the rule is still live) and a short plain-language narrative of how the pair moved versus the prior mining run. Use this when a merchant asks 'why did this pair drift?', 'explain this alert', or 'what changed for these two products?' after seeing it in get_drift_alerts. Different from get_drift_alerts: that lists the feed, this drills into a single alert_id with the change spelled out in a sentence. Handles a disappeared pair gracefully (only the prior confidence is available). BigCommerce only today.
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": {
"alert_id": "<alert_id>"
},
"name": "explain_drift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert_id | Yes | The id of the drift alert to explain, from get_drift_alerts. |