create-environment
Creates a new environment in a specified ConfigCat product. Provide the product ID and environment details such as name, color, order, and description.
Instructions
This endpoint creates a new Environment in a specified Product
identified by the productId parameter, which can be obtained from the List Products endpoint.
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": {
"productId": "<productId>",
"requestBody": "<requestBody>"
},
"name": "create-environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | The identifier of the Product. | |
| requestBody | Yes |