validate landingpage document
validate_landingpage_documentValidates and normalizes a complete unsaved native LandingDocument v1, including tenant media and active signup-form references. Read the authoring guide/schema first. valid concerns document schema and media references; publishable additionally checks signup-form availability and publication requirements. Repair issues by path and use normalizedDocument for preview/save. Warnings remain advisory under existing product rules. Does not save, publish, upload or submit a form. 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": "validate_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 |
|---|---|---|---|
| valid | Yes | ||
| issues | Yes | ||
| requestId | Yes | ||
| publishable | Yes | ||
| publishErrors | Yes | ||
| publishWarnings | Yes | ||
| normalizedDocument | Yes |