Edit a landing page
edit_pageChange an existing landing page by describing what to change in plain language (e.g. "change the headline to X", "add a pricing section", "make the hero button say Book now"). Edits the page's current content in place and saves it to the draft. The change is not published until you publish separately. Works for both standalone pages and pages inside a site. Use get_page / list_pages / list_sites to find the page id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The page UUID (id from list_pages / get_page). | |
| instructions | Yes | What to change, in plain language. Be specific about the target (which section, text, or button) and the desired result. The page's existing style, layout, and images are preserved. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| pageId | Yes | ||
| status | No | Present only when something changed. | |
| changed | Yes | False when the edit didn't apply (see `summary` for why). | |
| changes | No | One line per edit, in the editor's own words. Present only for pages whose editor reports per-edit detail; absent is not a failure, and `editsApplied` is the count either way. | |
| editUrl | Yes | ||
| summary | Yes | One line on what changed, or why nothing did. | |
| opsApplied | Yes | Deprecated alias of `editsApplied`. Prefer that field. | |
| previewUrl | Yes | ||
| editsApplied | Yes | How many edits were written. Always present; 0 if none. | |
| previewCurrent | No | Whether previewUrl already reflects this edit. False means the edit is saved but the preview may lag, so open editUrl to see it now. Absent means we cannot say, not that it is stale. |