ToggleFeatureFlag
Enable or disable a feature flag for a specific environment, feature, and SDK to control feature rollout directly from AI coding assistants.
Instructions
Toggle a 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": {
"environmentIdOrKey": "<environmentIdOrKey>",
"featureIdOrKey": "<featureIdOrKey>",
"sdk": "<sdk>"
},
"name": "ToggleFeatureFlag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sdk | Yes | Check the SDK using the file extension and select the SDK accordingly. | |
| isEnabled | No | Toggle the feature flag on or off. | |
| featureIdOrKey | Yes | The feature id or key of the feature. | |
| environmentIdOrKey | Yes | The environment id or key of the environment. |