list-segments
Retrieve segments associated with a product by providing its product ID, enabling targeted feature flag configuration.
Instructions
This endpoint returns the list of the Segments that belongs to the given 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>"
},
"name": "list-segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | The identifier of the Product. |