send_broadcast
Draft a marketing email, or send it with the owner’s yes.
Endpoint
https://business.sessions.website/@<handle>/api/mcpWhen to use it
To draft an email for the owner to review on the Broadcasts page (the default).
To send it to a segment, only after the owner saw the subject and body and said to.
Parameters
idstringoptionalA draft made earlier, to send. Pass "segment" too when the draft was saved without one.
namestringoptionalInternal name, e.g. "Spring launch".
subjectstringoptionalpreviewTextstringoptionalThe inbox preview line.
bodystringoptionalThe email body (Markdown).
segmentstringoptionalSegment id (create_segment). Needed to send; a draft can be saved without one.
sendbooleanoptionalSend now instead of saving a draft.
ownerConfirmedbooleanoptionalTrue only when the owner said, in this conversation, to do exactly this. Refused otherwise.
Returns
The draft or sent broadcast with its id and status.
Example
POST this to the endpoint above.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "send_broadcast",
"arguments": {
"name": "Spring launch",
"subject": "New classes this spring",
"body": "Hot Flow is back on Tuesdays."
}
}
}Saved draft "Spring launch" [<id>]. The owner can review it on the Broadcasts page.What the agent is told
The description the model reads when deciding whether to call this. It is the only thing that decides whether the tool fires at the right moment, so it is worth knowing what it says.
send it is saved as a draft the owner can review on the Broadcasts page. With send: true, or the id of a draft, it goes out now, which needs a segment (a create_segment with no conditions is every subscriber) and ownerConfirmed: the owner saw the subject and body and said to send it.