Target

July 9, 2025 ยท View on GitHub

Example Usage

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

let value: Target = {
  values: [
    "<value 1>",
    "<value 2>",
    "<value 3>",
  ],
  variation: 240112,
};

Fields

FieldTypeRequiredDescription
valuesstring[]:heavy_check_mark:A list of the keys for targets that will receive this variation because of individual targeting
variationnumber:heavy_check_mark:The index, from the array of variations for this flag, of the variation to serve this list of targets
contextKindstring:heavy_minus_sign:The context kind of the individual target