create_rule_based_segment
Create a rule-based segment within a specified workspace and traffic type to define user targeting criteria.
Instructions
Create a new rule-based segment in a workspace under a specific traffic type
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>",
"traffic_type": "<traffic_type>",
"name": "<name>"
},
"name": "create_rule_based_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The segment name (unique per workspace) | |
| description | No | Optional description | |
| traffic_type | Yes | The traffic type ID or name | |
| workspace_id | Yes | The workspace ID |