Move section
swebsy_move_sectionMove a component to just before or after another component on the current page — reorder sections, swap columns, lift a CTA above the footer. The component keeps its id, classes and id-styles. ALWAYS use this to reorder; delete + re-add loses the component's styles. Name each side by id (targetId/anchorId) or by path (targetPath/anchorPath).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "swebsy_move_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchorId | No | The component to place it next to by its id, as `read_page` shows it after `#` (e.g. "ieyubib", or "call-2-2" in a symbol instance). Stays valid when other components move or are added, unlike a path. Pass this OR the path, not both. | |
| position | No | Which side of the anchor. Default after. | |
| targetId | No | The component to move by its id, as `read_page` shows it after `#` (e.g. "ieyubib", or "call-2-2" in a symbol instance). Stays valid when other components move or are added, unlike a path. Pass this OR the path, not both. | |
| anchorPath | No | Path (from the same `read_page`) of the component to place it next to. | |
| targetPath | No | Path (from the most recent `read_page`) of the component to move. |