Unleash MCP (Feature Toggle)

by cuongtl1992
Verified

patchFlag

Modify properties of a feature flag in an Unleash project using JSON Patch operations to add, remove, replace, or test specific configurations.

Instructions

Modify specific properties of an existing feature flag in an Unleash project using JSON Patch operations

Input Schema

NameRequiredDescriptionDefault
featureNameYes
patchesYes
projectIdYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "featureName": { "maxLength": 100, "minLength": 1, "pattern": "^[a-z0-9-_.]+$", "type": "string" }, "patches": { "items": { "additionalProperties": false, "properties": { "from": { "type": "string" }, "op": { "enum": [ "add", "remove", "replace", "move", "copy", "test" ], "type": "string" }, "path": { "type": "string" }, "value": {} }, "required": [ "op", "path" ], "type": "object" }, "type": "array" }, "projectId": { "minLength": 1, "type": "string" } }, "required": [ "projectId", "featureName", "patches" ], "type": "object" }
ID: u6de78ibn8