Create Drag-and-Drop Email Template
create_dnd_email_templateDesign a new email and save it as a template that opens in Mailercloud's drag-and-drop editor, where every row and block can be edited. Build it the way a person does in the editor: email settings, then rows. A row is a ready-made section (find them with list_email_sections and fill its slots) or a layout with blocks in each column. Read the catalog resource mailercloud://email-blocks/catalog for settings, layouts and blocks; never send HTML. A postal address is required (a footer's address slot or settings.address): ask the user for it if you don't have it. Personalise with [[key]] merge tags; there is no fallback, so never put one right after a greeting. Use dry_run: true to check and preview first.
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": {
"email": "<email>"
},
"name": "create_dnd_email_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The email as rows and blocks (see the catalog resource), never HTML | ||
| dry_run | No | Check and preview the email without saving it | |
| category_id | No | Category ID from list_template_categories |