preview landingpage document
preview_landingpage_documentRenders a complete unsaved native LandingDocument with the shared landingpage renderer and current tenant form settings. Returns HTML, normalizedDocument and validation/publication diagnostics; invalid documents return html:null. Read the guide and validate first. Preview creates no public URL, saves no draft and performs no signup. Inspect the candidate before saving. Choose sections for the user's audience, offer and ONE main conversion goal; do not use every section just because it exists. The full section catalog includes sections initially disabled in a newly created draft: enable them when useful. Sections enabled by the default preset may also be disabled when unnecessary; the initial selection is only a starting point. A short lead/signup page may need only hero, benefits and signup, with optional real trust evidence. Every optional section can be enabled or disabled independently via document.sections..enabled = true/false; hero.enabled must remain true. Keep every section object and its saved content in the full document when disabling it. Section order is fixed by inviomail; selecting fewer sections does not require rearranging keys. Header, pricing, testimonials, FAQ and finalCta are optional, not a checklist. If proof or content is missing, omit the optional section instead of inventing facts. Authoring reference: sendout://landingpages/authoring-guide/v1; use get_landingpage_content_reference if resources are unavailable.
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": {
"pageId": "<pageId>",
"document": "<document>"
},
"name": "preview_landingpage_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ID returned by inviomail for this tenant | |
| document | Yes | Complete native LandingDocument v1; select only useful sections via sections.<key>.enabled, keep hero enabled and retain disabled section objects. Read the authoring reference first |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| valid | Yes | ||
| issues | Yes | ||
| requestId | Yes | ||
| publishable | Yes | ||
| publishErrors | Yes | ||
| publishWarnings | Yes | ||
| normalizedDocument | Yes |