MigrateStatsigDynamicConfigsToWingify
Migrate Statsig dynamic configs to Wingify by creating feature flags from default values and converting Statsig rules into rollout or personalize rules in a target environment.
Instructions
Migrate Statsig dynamic configs to Wingify FE. For each dynamic config this tool: (1) lists all dynamic configs from Statsig, (2) creates a Wingify feature flag whose variables come from defaultValue (labels are applied only when the config has Statsig tags), (3) always creates a rollout rule for the default variation first, then (4) for each Statsig rule with multiple variants, creates Wingify variations from those variants and a FLAG_TESTING rule; for rules with a single variant (or rule-level returnValue only), creates a personalize rule. Rules are enabled when the dynamic config is enabled; the feature flag itself stays disabled after migration.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "MigrateStatsigDynamicConfigsToWingify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environmentIdOrKey | No | Target Wingify environment id or key for the created rules. Defaults to Production (id "1"). | 1 |