createFeatureFlag
Create a new feature flag in a specified environment to control feature releases and user experiences through configurable variations.
Instructions
Create a new feature flag in the specified environment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier for the feature flag (alphanumeric, hyphens, underscores) | |
| name | Yes | Human-readable name for the feature flag | |
| description | No | Description of the feature flag | |
| environmentId | No | Environment ID (uses default if not provided) | |
| variations | Yes | List of variations (at least 2 required) | |
| tags | No | Tags for the feature flag | |
| defaultOnVariationIndex | Yes | Index of the variation to serve when flag is on (0-based) | |
| defaultOffVariationIndex | Yes | Index of the variation to serve when flag is off (0-based) | |
| variationType | No | Type of the variation values (default: STRING) |