Filter audience
filter_audienceGiven participant ids (or all), return only those who have opted in to marketing on the channel. Always run this before a send.
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": "filter_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | ||
| participant_ids | No |