ship_winner
Ship the winning variant to 100% of traffic after results confirm it is ready. Flips server-side within 30 seconds, so no code deploy is needed.
Instructions
Ship the winning variant to 100% of traffic. The SDK will flip server-side within 30 seconds — no code deploy needed. Use after get_results confirms the experiment is ship-ready.
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": {
"experiment_id": "<experiment_id>",
"winning_variant_id": "<winning_variant_id>"
},
"name": "ship_winner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| experiment_id | Yes | UUID returned by create_experiment. | |
| winning_variant_id | Yes | Variant ID from get_results.leading_variant_id (or variants[i].id where is_leading=true). NOT the variant name — use the slug-style ID like 'variant_b' or 'control'. |