edit_section
Replace a rendered section in an HTML file with a new component or raw HTML. Provide the section index and component props or HTML to inject.
Instructions
Replace a rendered section in an HTML file with a new component. Pages rendered with render_page embed section markers. Use list_sections to discover available indices. Provide component+props to re-render, or html for raw replacement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Raw HTML to inject directly (bypasses component rendering) | |
| props | No | Props for the new component | |
| component | No | Component type to replace with (e.g. hero, callout, data-table) | |
| file_path | Yes | ||
| section_index | Yes | Section index to replace (from render_page sections order) |