apply_vibe_edit
Apply accepted changes from a completed vibe edit to your landing page draft as one new version. Select by index, path, or apply all; force when the draft has moved on.
Instructions
Applies a completed vibe edit (from vibe_edit_landing_page) to the DRAFT as ONE new version. Pass exactly one of: all=true (accept every change), indices (subset by their index from get_vibe_edit_status), or paths (subset by their path). This does NOT publish — call publish_landing_page next to go live. Can be undone via restore_lp_version using the returned previousVersionId. If the draft has moved on since the edit was proposed (stale session), this returns a structured { error: 'stale_session', ... } payload instead of applying — either re-run vibe_edit_landing_page against the current draft, or retry this call with force=true to layer the selected changes onto the current draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Apply every proposed change | |
| name | No | Name for the new version | |
| slug | Yes | Landing page slug | |
| force | No | Apply even if the draft has moved on since the edit was proposed (stale session) | |
| paths | No | Subset of change `path` values to apply | |
| indices | No | Subset of change `index` values to apply | |
| description | No | Description for the new version | |
| operationId | Yes | Operation ID from vibe_edit_landing_page |