CreateFeatureFlag
Creates a new feature flag with a key, SDK, and variables to help developers manage feature rollout from AI coding assistants.
Instructions
Create a new feature flag
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": {
"featureKey": "<featureKey>",
"sdk": "<sdk>",
"variables": "<variables>"
},
"name": "CreateFeatureFlag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sdk | Yes | Check the language using the file extension and select the SDK from the list of supported SDKs. Prompt the user to confirm the SDK before proceeding. | |
| name | No | ||
| goals | No | Use default metric name if no information is provided by user related to metric. | |
| variables | Yes | Variables are used to store the data for the feature flag | |
| featureKey | Yes | The key of the feature flag. Should only contain alphanumeric characters and underscores. Should be self explanatory according to the user's usercase. | |
| description | No | ||
| featureType | No | TEMPORARY |