Analyze Codebase for Feature Flags
codebase_analyzer_analyzeScan a directory to detect feature flag usage across AB Tasty Flagship and competitor platforms, returning flag keys, default values, types, and file locations.
Instructions
Scan a directory for feature flag usage across AB Tasty (Flagship SDK) and competitor platforms (LaunchDarkly, OpenFeature, Optimizely, Split, VWO). Returns detected flags with their keys, default values, types, and file locations.
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": {
"directory": "<directory>"
},
"name": "codebase_analyzer_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | Optional competitor platform to detect. If not provided, scans for AB Tasty / Flagship SDK patterns only. | |
| directory | Yes | Absolute path to the directory to scan for feature flags | |
| repository_url | No | Optional repository URL for generating file links in results (e.g., https://github.com/org/repo) | |
| repository_branch | No | Optional branch name for file links (defaults to 'main') |