All tools

Marketing · draft_newsletter

Draft newsletter

HTML content of a newsletter.

Price
plan AI usage
Requirements
No connector
runs on platform keys
Human approval
No
read or internal write

Input

FieldTypeDescription
subject *stringEmail subject line (≤ 50 chars, action-oriented)
htmlBodystringOptional complete HTML email you built yourself — stored as-is instead of the built-in template
preheaderstringPreview text shown next to subject in inbox
sections *arrayContent sections with heading and body text
ctaTextstringCall-to-action button text
ctaUrlstringCall-to-action button URL
languagefr | enLanguage (default: en)
campaignIdstringOptional campaign UUID

Call this tool

Through the HTTP API, or from the MCP server with the run meta-tool.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"draft_newsletter","input":{"subject":"…","htmlBody":"…","preheader":"…","sections":[]}}'
$run({ "tool": "draft_newsletter", "input": {"subject":"…","htmlBody":"…","preheader":"…","sections":[]} })