insert_section
Insert a component section at a specified index, pushing existing sections forward and auto-renumbering all subsequent sections.
Instructions
Insert a new component section at a specific index, pushing existing sections forward. Uses the same section marker system as render_page. Auto-renumbers all subsequent sections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Raw HTML to inject directly (bypasses component rendering) | |
| props | No | Props for the new component | |
| component | Yes | Component type to insert (e.g. hero, callout, data-table) | |
| file_path | Yes | ||
| section_index | Yes | Index to insert at (pushes existing section at this index + all later ones forward) |