Compare environments
compare_environmentsIdentify feature flags that differ between two environments and see changed sections: state, default variation, strategy, rules, or prerequisites. Returns only differing flags by default.
Instructions
Compare flag configuration between two environments: which flags differ and in which sections (state, defaultVariation, strategy, rules, prerequisites). Returns only differing flags unless different_only is false. To see exactly what would change for one flag, preview copy_flag_config (Team plan and above, Member role).
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": {
"project": "<project>",
"base": "<base>",
"other": "<other>"
},
"name": "compare_environments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only flags with this tag | |
| base | Yes | Base environment key | |
| limit | No | Page size (default 20) | |
| other | Yes | Environment key to compare against | |
| owner | No | Owner email, or "none" for unowned flags | |
| cursor | No | next_cursor from a previous response | |
| project | Yes | Project key | |
| different_only | No | Only flags whose configuration differs (default true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| next_cursor | No |