Add, update, or remove a variation
manage_variationAdd, update, or remove feature flag variations. Use key and value for add; variationId for update or remove. Removal fails if other flags depend on it.
Instructions
Manage a flag's variations. action=add requires key + value; action=update/remove require variationId (get ids via get_flag). Removing a variation fails with VARIATION_HAS_DEPENDENTS if other flags depend on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Required for add; immutable afterwards | |
| flag | Yes | ||
| name | No | ||
| value | No | Variation value serialized as a string; required for add | |
| action | Yes | ||
| project | Yes | ||
| description | No | ||
| variationId | No | Required for update/remove |