Preview segment
preview_segmentLive count and a sample of contacts for a segment id or a draft filter, without saving. Returns {count, sample:[{id,email,first_name,last_name,status}]}. Engagement and event conditions match nobody until tracking data exists. Next: create_segment to save it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "preview_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Sample size, 1 to 100. Default 10. | |
| filter | No | A draft filter, same shape as create_segment. | |
| segment_id | No | A saved or built-in segment id (seg_..., builtin_engaged). Give this or `filter`. |