preview_segment
View the list of contacts that match a specific segment to verify targeting before sending.
Instructions
Preview the contacts that match a segment without sending.
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": {
"segmentId": "<segmentId>"
},
"name": "preview_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | Send16 API key (overrides SEND16_API_KEY env var) | |
| segmentId | Yes | Segment ID |