Save a template
elementor_save_templateSave a layout to the template library from an element tree or existing page—optionally copying one element—so sections can be reused across the site.
Instructions
Save a layout to the template library, either from an element tree you pass or by copying from an existing page (optionally just one element of it). Save a section once, reuse it everywhere.
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": {
"title": "<title>"
},
"name": "elementor_save_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Configured site name. Omit to use the default site. | |
| type | No | Template type: container, section, page, header, footer, popup. | container |
| title | Yes | ||
| elements | No | The element tree to save. Omit if using sourcePostId. | |
| sourcePostId | No | Copy the layout from this page instead. | |
| sourceElementId | No | With sourcePostId, save only this element and its subtree. |