Ld Get Flag
ld_get_flagReturn one LaunchDarkly feature flag with variations, maintainer, experiment links, and optional environment targeting or rollout configuration. Answers exactly how a feature is configured for release or experimentation.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"_apiKey": "your-launchdarkly-reader-token",
"flag_key": "new-checkout",
"project_key": "web-app",
"environment_key": "production"
},
"name": "ld_get_flag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | Yes | LaunchDarkly API access token | |
| flag_key | Yes | ||
| project_key | Yes | ||
| environment_key | No |