Validate Flow Email content
validate_flow_email_contentValidates a complete native inviomail Flow Email contentJson document against the current schema at sendout://newsletter/content/schema/v1. Flow Emails use the same native block document format as newsletters; read sendout://newsletter/content/authoring-guide/v1 or call get_newsletter_content_reference before constructing content. It does not save or change a Flow Email. Use normalizedContent for preview_flow_email_content and update_flow_email_content when valid. Button blocks support bold (default true) and optional fontSize (integer 10–30 px) for desktop; omit fontSize to inherit tenant body typography. Optional mobileFontSize (integer 16–24 px) controls mobile text separately, with tenant bodyMobilePx as the readability floor; omit it to retain the mobile standard. Long button labels wrap automatically. Own contact fields are supported only in heading.text and text.html, including two-column children: {{custom.key}} or {{custom.key | default: "replacement text"}}. Read list_contact_fields first and use its permanent keys; offer active fields for new insertion. Existing archived references still resolve. Missing/blank values use the fallback or empty text. Escape fallback JSON and HTML correctly; do not split a token with inline markup. Tenant validation reports invalid syntax, unsupported locations and unknown keys. Custom field placeholders are not supported in subjects, preheaders, buttons, URLs, footers, signatures or DOI emails.
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": {
"contentJson": "<contentJson>"
},
"name": "validate_flow_email_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contentJson | Yes | Complete native inviomail contentJson object to validate. For type button (also in two-column children), bold defaults to true and optional fontSize is an integer 10–30 px for desktop; omit fontSize for tenant body typography. Optional mobileFontSize (integer 16–24 px) controls mobile text separately, with tenant bodyMobilePx as the readability floor; omit it to retain the mobile standard. Long button labels wrap automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| issues | Yes | ||
| requestId | Yes | ||
| schemaVersion | Yes | ||
| normalizedContent | Yes |