wp_elementor_duplicate_element
Duplicates an Elementor element next to the original in one save with a private rollback. Optional settings override only the cloned root with a shallow merge: settings: {text: "Try It Now", link: {url: "/try/"}} replaces the complete link object. HTML widget settings.html overrides are forbidden.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>",
"post_id": "<post_id>",
"element_id": "<element_id>"
},
"name": "wp_elementor_duplicate_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | WordPress post/page ID. | |
| site_id | Yes | The connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID. | |
| settings | No | ||
| element_id | Yes | Elementor element ID from page structure or selected-element context. |