evaluate_feature_flag
Check if a feature flag is enabled for a specific user and retrieve the variant value.
Instructions
Evaluate a feature flag for a specific user. Returns whether the flag is enabled and its variant value.
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": {
"flag_key": "<flag_key>",
"distinct_id": "<distinct_id>"
},
"name": "evaluate_feature_flag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag_key | Yes | The feature flag key to evaluate | |
| distinct_id | Yes | The user's distinct_id to evaluate the flag for |