create_segment
Define user segments in Flipt MCP Server by specifying namespace, key, name, and match type for targeted feature flag evaluations.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | ||
key | Yes | ||
matchType | Yes | ||
name | Yes | ||
namespaceKey | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"key": {
"minLength": 1,
"type": "string"
},
"matchType": {
"enum": [
"ALL_MATCH_TYPE",
"ANY_MATCH_TYPE"
],
"type": "string"
},
"name": {
"minLength": 1,
"type": "string"
},
"namespaceKey": {
"minLength": 1,
"type": "string"
}
},
"required": [
"namespaceKey",
"key",
"name",
"matchType"
],
"type": "object"
}