ToggleFeatureFlagRules
Enable or disable one or multiple feature flag rules for a specific environment, feature, and SDK to control flag behavior without editing configuration.
Instructions
Toggle a single or multiple feature flag rules
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": "ToggleFeatureFlagRules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sdk | Yes | Check the SDK using the file extension and select the SDK accordingly. | |
| ruleIds | No | The rule ids of the feature flag rules to be toggled. | |
| isEnabled | No | Toggle the feature flag rules on or off. | |
| featureIdOrKey | Yes | The feature id or key of the feature. | |
| environmentIdOrKey | Yes | The environment id or key of the environment. |