create_distribution
Generate a distribution for feature flag rules by specifying namespace, flag key, rule ID, variant ID, and rollout percentage in Flipt MCP Server.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
flagKey | Yes | ||
namespaceKey | Yes | ||
rollout | Yes | ||
ruleId | Yes | ||
variantId | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"flagKey": {
"minLength": 1,
"type": "string"
},
"namespaceKey": {
"minLength": 1,
"type": "string"
},
"rollout": {
"maximum": 100,
"minimum": 0,
"type": "number"
},
"ruleId": {
"minLength": 1,
"type": "string"
},
"variantId": {
"minLength": 1,
"type": "string"
}
},
"required": [
"namespaceKey",
"flagKey",
"ruleId",
"variantId",
"rollout"
],
"type": "object"
}