list_rule_based_segment_definitions
Retrieve all rule-based segment definitions for a given environment and workspace to manage feature flag targeting.
Instructions
List rule-based segment definitions in a specific 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": {
"workspace_id": "<workspace_id>",
"environment_id": "<environment_id>"
},
"name": "list_rule_based_segment_definitions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | The workspace ID | |
| environment_id | Yes | The environment ID or name |