airstrings_variant_promote
End an A/B experiment by promoting the winning variant's values as the key's base string, overwriting old values and republishing that environment's bundles. Use once a winner is clear.
Instructions
End a running or stopped A/B experiment for one string key by making a variant's values the key's base string, overwriting the old base values, then republish that environment's bundles automatically. Cannot be undone except by setting the old values again. Refused on a protected environment (production): promote in a writable environment instead. Returns the experiment and per-locale publish results. Use it once a winner is clear; to end the test without changing the base string, use airstrings_variant_stop.
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": {
"key": "<key>",
"variant": "<variant>"
},
"name": "airstrings_variant_promote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The string key whose experiment to promote. | |
| variant | Yes | Name of the winning variant, as in airstrings_variant_status (not 'control'). |