create_segment
Define user segments in Flipt MCP Server by specifying namespace, key, name, and match type for targeted feature flag evaluations.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"namespaceKey": "<namespaceKey>",
"key": "<key>",
"name": "<name>",
"matchType": "<matchType>"
},
"name": "create_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | ||
| key | Yes | ||
| matchType | Yes | ||
| name | Yes | ||
| namespaceKey | Yes |