Read Elementor Element
Reads one element of an Elementor layout in full: its text, code, image and link exactly as stored, without the shortening the layout read applies to long values. Use it to copy exact text before changing part of it with mosmcp/elementor-element-patch. Very long content comes back in pages; call again with offset set to next_offset.
Also known as: read an Elementor widget, get HTML widget code, show the full text of an element.
| Property | Value |
|---|---|
| Ability slug | mosmcp/elementor-element-get |
| Wire tool name | mosmcp__elementor-element-get |
| Category | Elementor (mosmcp-elementor) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_post (checked against the specific post) |
| Minimum default role | Contributor |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | integer (min 1) | Yes | — | The ID of the post, page or Elementor template whose layout holds the element. |
| element_id | string (min length 1) | Yes | — | The Elementor element ID, as reported when reading the layout. |
| offset | integer (min 0) | 0 |
Byte offset to start each value at, for reading very long content in pages. | |
| max_bytes | integer (1000–250000) | 60000 |
Most bytes of each value to return. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| id | integer | Yes | |
| post_type | string | ||
| title | string | ||
| modified | string | Usable as expected_modified on a following edit. | |
| element | object | Yes | |
| element.element_id | string | ||
| element.el_type | string | ||
| element.widget_type | string | ||
| element.title | string | ||
| element.path | string | ||
| element.depth | integer | ||
| element.child_count | integer | ||
| element.is_atomic | boolean | ||
| element.editable | boolean | ||
| content | object[] | Yes | |
| content[].role | string | text, body, image or link. | |
| content[].control | string | The Elementor setting that holds it. | |
| content[].value | string | ||
| content[].length | integer | Full length in bytes. | |
| content[].offset | integer | ||
| content[].has_more | boolean | ||
| content[].next_offset | integer | Where the next page starts; 0 when this is the end. | |
| warnings | object[] | Non-fatal issues encountered while running. | |
| warnings[].code | string | ||
| warnings[].message | string | ||
| warnings[].context | string |
| << Previous | Next >> |
|---|---|
| Preview Rendered Elementor Layout | Read Elementor Layout |
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.