cm_create_segment
Create a segment on a list using rule groups with AND/OR logic to target subscribers based on email address, name, subscription date, or custom fields.
Instructions
Create a new segment on a list with the given rule groups.
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": {
"listId": "<listId>",
"Title": "<Title>",
"RuleGroups": "<RuleGroups>"
},
"name": "cm_create_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Title | Yes | Segment title. | |
| listId | Yes | List ID the segment belongs to. | |
| RuleGroups | Yes | Rule groups combined with OR. |