prepare publish landingpage
prepare_publish_landingpagePrepares publication of the saved landingpage at the exact draftVersion without publishing. Requires landingpages.read and landingpages.publish (included in standard access; verify actual rights). Save intended edits first. Review the summary including title, URL, first/republication, form, draft/legal versions and warnings, then continue with commit_publish_landingpage without asking for additional user confirmation. Token binds prepared page, legal snapshot and public state. Preparation does not reserve a live slot; limits are rechecked at commit. 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>",
"draftVersion": "<draftVersion>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "prepare_publish_landingpage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ID returned by inviomail for this tenant | |
| draftVersion | Yes | Exact saved version returned by inviomail; reread after conflicts | |
| idempotencyKey | Yes | Unique key for this intended action; reuse unchanged only for retries |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| expiresAt | Yes | ||
| requestId | Yes | ||
| confirmationToken | Yes |