Email: preview
email_previewRender a draft email subject and body with sample data and optional wrapper, returning HTML for review before updating templates or shell. Nothing is saved or sent.
Instructions
Render uncommitted subject + content + optional wrapper, print HTML. Renders a draft subject and body with sample data, inside a draft shell if given or the project's current one otherwise, and returns the HTML. Nothing is saved and no email is sent. Use it to check edits before email_templates_update or email_shell_update.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "email_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | Path to file containing content (or '-' for stdin) | |
| subject | No | Subject line to render (defaults to 'Preview') | |
| wrapper | No | Optional path to a wrapper HTML override (or '-' for stdin) | |
| content_text | No | The content to render, passed inline | |
| wrapper_text | No | Optional wrapper HTML override, passed inline |