set_flag_rollout
Configure the rollout percentage and variants for a feature flag's flexible rollout strategy in a given environment, without enabling the flag.
Instructions
Configure or update a flexibleRollout strategy for a feature flag environment with an optional rollout percentage and variants. This does NOT enable the feature; call toggle_flag_environment to turn environments on or off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project ID where the feature flag resides (optional if UNLEASH_DEFAULT_PROJECT is set) | |
| featureName | Yes | Feature flag name | |
| environment | Yes | Target environment | |
| rolloutPercentage | Yes | Rollout percentage (0-100) | |
| groupId | No | Group ID for stickiness bucketing (defaults to the feature name) | |
| stickiness | No | Stickiness field (defaults to "default") | |
| title | No | Optional descriptive title for the strategy | |
| disabled | No | Disable the strategy (defaults to false) | |
| variants | No | Optional list of strategy-level variants |