update-segment
Update an existing ConfigCat segment by ID to modify its name, description, comparison attribute, comparator, or comparison value, keeping feature flag targeting accurate.
Instructions
This endpoint updates a Segment identified by the segmentId parameter.
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": {
"segmentId": "<segmentId>",
"requestBody": "<requestBody>"
},
"name": "update-segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segmentId | Yes | The identifier of the Segment. | |
| requestBody | Yes |