swebsy_delete_section
Remove any component or section from the current page entirely, preventing stray blank divs. Use targetPath to delete a component other than the selected one.
Instructions
Remove a component from the current page entirely. Use this instead of emptying a section's contents — an emptied section leaves a stray blank div on the page. Deletes the selected component by default; pass targetPath (from read_page) to delete a component you did not select.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | 1 sentence naming what is being removed. | |
| targetPath | No | Zero-based component indexes from the current page root, exactly as returned by the most recent `read_page` call. Omit to delete the selected component. |