Create broadcast
create_broadcastCreate a broadcast as a draft: one email to everyone the audience matches, sent once. Nothing sends while it is a draft. Preview the audience (preview_audience), send a test (send_test_email) and show the user before set_broadcast_status.
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": {
"project_id": "<project_id>",
"name": "<name>",
"filter_groups": "<filter_groups>",
"subject": "<subject>",
"preview_text": "<preview_text>",
"html": "<html>",
"markdown": "<markdown>",
"template_id": "<template_id>"
},
"name": "create_broadcast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The body as HTML. Null when you send markdown or a template_id. | |
| name | Yes | ||
| subject | Yes | ||
| markdown | Yes | The body as markdown. Null when you send html or a template_id. | |
| project_id | Yes | ||
| template_id | Yes | Copy a template's subject, preview text and body; then subject, preview_text, html and markdown are null. | |
| preview_text | Yes | The line inbox previews show after the subject. | |
| filter_groups | Yes | A contact matches when it passes every filter of at least one group. An empty list means every contact in the project. |