PatchOperation

May 22, 2025 ยท View on GitHub

Example Usage

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

let value: PatchOperation = {
  op: "replace",
  path: "/exampleField",
  value: "new example value",
};

Fields

FieldTypeRequiredDescriptionExample
opstring:heavy_check_mark:The type of operation to performreplace
pathstring:heavy_check_mark:A JSON Pointer string specifying the part of the document to operate on/exampleField
valueany:heavy_minus_sign:A JSON value used in "add", "replace", and "test" operationsnew example value