test_broadcast_audience
Test a JavaScript broadcast audience program against inline fake records and expected attendee IDs or errors. First read get_skill_broadcast_filters. Supply attendees, photos with associations, provider statuses, inbound messages and event settings; all metrics use production resolvers. Returns per-case pass/fail, missing/unexpected IDs, logs and errors synchronously. Run passing tests for every new or changed filter before the live-data preview.
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": {
"program": "<program>",
"cases": "<cases>"
},
"name": "test_broadcast_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cases | Yes | Independent synthetic datasets and expected audience memberships for the same program. | |
| program | Yes |