Create broadcast (draft)
create_broadcastCreates an email broadcast draft for a selected segment without sending it, so you can review and confirm before dispatch.
Instructions
Create a broadcast draft to a segment. It is NOT sent; call send_broadcast only after the user confirms. html supports {{{FIRST_NAME|fallback}}}, {{{LAST_NAME}}}, {{{EMAIL}}}, {{{contact.}}} and {{{PIDGELY_UNSUBSCRIBE_URL}}}.
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": {
"segment_id": "<segment_id>",
"subject": "<subject>"
},
"name": "create_broadcast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Sender. Defaults to PIDGELY_MCP_DEFAULT_FROM. | |
| html | No | Supports {{{FIRST_NAME|fallback}}}, {{{LAST_NAME}}}, {{{EMAIL}}}, {{{contact.<property>}}} and {{{PIDGELY_UNSUBSCRIBE_URL}}}. | |
| name | No | Internal name. | |
| text | No | ||
| subject | Yes | ||
| reply_to | No | Reply-To: one email address or a list (max 50). Plain addresses or "Name <address>". | |
| segment_id | Yes | Segment to send to. | |
| preview_text | No | Inbox preview snippet. |