set_lp_section_layout
Reorder and toggle visibility of landing page sections using sectionOrder and sectionVisibility. Apply each independently and receive partial failure results when one part fails.
Instructions
Reorder and/or toggle visibility of a landing page's sections. Pass at least one of sectionOrder/sectionVisibility. Valid section-order keys (all 11): hero, features, pricing, cta, faq, howItWorks, showcase, categoryExplorer, replacesStack, comparisonMatrix, roiCalculator. sectionVisibility keys are the toggleable subset of the above. When both are given, order is attempted first, then visibility — each is applied independently, so one can succeed while the other fails. The result always reports both outcomes: { order: |{error}, visibility: |{error}, partialFailure: true } if only one part failed. This tool only throws if every requested part fails (or if a single requested part fails).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Landing page slug | |
| sectionOrder | No | Full ordered list of section keys | |
| sectionVisibility | No | Map of section key → visible (true/false) for the toggleable sections |