create_environment
Create a new environment for feature flag management in Featureflow projects, optionally cloning settings from existing environments to maintain consistency.
Instructions
Create a new environment for a project. Optionally clone settings from an existing environment.
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": {
"projectKey": "<projectKey>",
"key": "<key>",
"name": "<name>"
},
"name": "create_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | Yes | The project key where the environment will be created | |
| key | Yes | Unique environment key within the project | |
| name | Yes | Display name for the environment | |
| color | No | Color for the environment (hex code) | |
| production | No | Whether this is a production environment | |
| cloneEnvironmentKey | No | Optional environment key to clone settings from |