screenshot_to_email
Generate branded MJML emails from screenshot or mockup descriptions, including multi-screenshot support for long layouts.
Instructions
Convert a design description (from a screenshot or mockup) into a branded MJML email. Describe the layout, colors, sections, and content — the AI will generate matching MJML. Supports multiple screenshots for long emails (pass an array of descriptions).
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": {
"image_description": "<image_description>"
},
"name": "screenshot_to_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Email type. Auto-detected if not specified. | |
| brand_id | No | Brand profile ID to use for colors/fonts. Uses the most recently updated brand if not specified. | |
| image_description | Yes | Detailed description of the email design to recreate. MUST include for EACH section: (1) background color (dark/light/specific color), (2) text colors, (3) layout structure, (4) number and arrangement of images, (5) button styles. Especially note if the email is DARK-THEMED throughout — state this explicitly. Pass a single string, or an array of strings for multiple screenshots. |