royal-mcp__wp_move_block
Move the block at path (with its inner blocks) to the start or end of the post, or before, after or inside the block at target_path. Checks the edit lock, refuses changes WordPress would strip for your account, saves a revision and returns an undo token. (site: demo.royalplugins.com) Through Royally: waits for a person to approve it in Royally; nothing on the site changes until then.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Where to move it (default end). before/after/inside_start/inside_end need target_path. | |
| id | Yes | Post ID (any post type that stores block content). | |
| path | Yes | Block path from wp_get_block_outline, e.g. "2" or "2.0.1" (counting from 0). | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| target_path | No | Path of the block to move next to or inside, as read before the move. | |
| expected_name | No | Optional guard: the block name you expect at path (e.g. core/heading). Nothing changes if it differs. |