create_feature_flag
Creates a flag for a feature within a project to enable controlled feature toggles and experiments.
Instructions
Create a flag in a feature (WRITE). Requires feature-management:features:write scope and DT_ENABLE_WRITES.
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": {
"projectKey": "<projectKey>",
"featureKey": "<featureKey>",
"flag": "<flag>"
},
"name": "create_feature_flag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | Yes | The project key. | |
| featureKey | Yes | The feature key. | |
| flag | Yes | Flag body per the Feature Management API spec (key, name, type, variants, description, tags). |