Export Feature Flags
export_feature_flagsExport every feature flag as a portable "flags as code" bundle: { version: 1, flags: [...] }, sorted by key. Each entry carries key, description, state, valueType, onValue/offValue, the full targeting rule and any schedule — everything import_feature_flags needs, and nothing environment-specific (no ids, no eval counters), so the bundle can be committed to a repo or promoted from one environment to another. The format matches the Bridge CLI's bridge flag export, so bundles move between the two. Use list_feature_flags instead when you just want to read the current setup, since that keeps the ids.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_feature_flags"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. |