Create an email draft
create_email_draftCreate a broadcast DRAFT for a human to review and send from the dashboard. Nothing is emailed. Merge tags: {{first_name|there}}, {{name}}, {{plan}}. Marketing/product_updates get an unsubscribe footer automatically.
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": {
"subject": "<subject>",
"html": "<html>"
},
"name": "create_email_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Email body as HTML with inline styles. | |
| plan | No | Only users on this plan (optional). | |
| subject | Yes | ||
| category | No | marketing | |
| segment_id | No | Send to a saved segment (see list_segments). Overrides plan. | |
| preview_text | No |