create_constraint
Define custom constraints for feature flag segments in Flipt MCP Server by specifying type, property, operator, and value to control targeted 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>",
"segmentKey": "<segmentKey>",
"type": "<type>",
"property": "<property>",
"operator": "<operator>"
},
"name": "create_constraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | ||
| namespaceKey | Yes | ||
| operator | Yes | ||
| property | Yes | ||
| segmentKey | Yes | ||
| type | Yes | ||
| value | No |