Variation

May 22, 2025 ยท View on GitHub

Example Usage

import { Variation } from "@launchdarkly/mcp-server/models/components";

let value: Variation = {
  value: "<value>",
};

Fields

FieldTypeRequiredDescription
idstring:heavy_minus_sign:The ID of the variation. Leave empty when you are creating a flag.
valueany:heavy_check_mark:The value of the variation. For boolean flags, this must be true or false. For multivariate flags, this may be a string, number, or JSON object.
descriptionstring:heavy_minus_sign:Description of the variation. Defaults to an empty string, but is omitted from the response if not set.
namestring:heavy_minus_sign:A human-friendly name for the variation. Defaults to an empty string, but is omitted from the response if not set.