Move Elementor Element
Changes where an element sits in an Elementor layout: pass a position to reorder it among its current siblings, or a target container ID to move it into a different container. An element cannot be moved inside itself.
Also known as: reorder Elementor widgets, move a section up or down, rearrange the layout.
| Property | Value |
|---|---|
| Ability slug | mosmcp/elementor-element-move |
| Wire tool name | mosmcp__elementor-element-move |
| Category | Elementor (mosmcp-elementor) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_post (checked against the specific post) |
| Minimum default role | Contributor |
| Annotations | readOnly: false · destructive: false · idempotent: false · openWorld: true |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | integer (min 1) | Yes | — | The ID of the post or page whose layout should be edited. |
| element_id | string (min length 1) | Yes | — | The Elementor element ID to move. |
| position | integer (min 0) | — | Zero-based position the element should end up at among the destination's children. Omit to place it last. A position beyond the end is treated as last. | |
| target_container_id | string | — | Optional. Element ID of the container to move into. Omit to reorder within the current container. | |
| expected_modified | string | — | Optional. The "modified" value from a previous read. The edit is refused if the post changed since then. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| id | integer | Yes | |
| title | string | ||
| status | string | The post status, which these abilities never change. | |
| modified | string | New modified timestamp, usable as expected_modified on a following edit. | |
| changes | object[] | Yes | What actually changed. |
| changes[].action | string | Which structural change was made: delete, duplicate or move. | |
| changes[].element_id | string | The element affected. For a duplicate this is the new copy's ID. | |
| changes[].widget_type | string | ||
| changes[].detail | string | Plain-language description of what happened. | |
| view_url | string | ||
| elementor_url | string | ||
| warnings | object[] | Non-fatal issues encountered while running. | |
| warnings[].code | string | ||
| warnings[].message | string | ||
| warnings[].context | string |
Example
Sample prompt
Move the testimonials section above the pricing section on my home page.
Example request (json)
{
"jsonrpc": "2.0",
"id": 327,
"method": "tools/call",
"params": {
"name": "mosmcp__elementor-element-move",
"arguments": {
"input": {
"id": 12,
"element_id": "c44d0a1",
"position": 1
}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 327,
"result": {
"isError": false,
"structuredContent": {
"id": 12,
"title": "Home",
"status": "publish",
"modified": "2026-09-29 10:45:10",
"changes": [
{
"action": "move",
"element_id": "c44d0a1",
"widget_type": "container",
"detail": "Moved from position 3 to position 1 in the same container."
}
],
"view_url": "https://example.com/",
"elementor_url": "https://example.com/wp-admin/post.php?post=12&action=elementor",
"warnings": []
}
}
}
Edge cases / errors
- Neither position nor target_container_id given → nothing_to_move.
- Target is a widget rather than a container/section/column → target_cannot_hold_elements.
- Target is the element itself → target_is_self; target is nested inside it → target_is_descendant.
- expected_modified stale → post_changed.
| << Previous | Next >> |
|---|---|
| List Elementor Widget Types | Patch Elementor Element Text |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.