> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/abilities/elementor.md).

# Elementor

Elementor abilities of the Hostinger AI plugin's WordPress site MCP server. Inspect Elementor pages and templates, edit containers and widgets, and change global colors and fonts.

Inspect Elementor pages and templates, edit containers and widgets, and change global colors and fonts.

**Available:** Only while Elementor is active on the site.

| Ability                                                             | What it does                                                                                                                                                                                                                                           | Type                             |
| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------- |
| [Create Elementor Container](#create-elementor-container)           | Create an Elementor container (section) at the root of a page or inside a parent container, optionally with inner columns.                                                                                                                             | Changes the site                 |
| [Delete Elementor Container](#delete-elementor-container)           | Remove an Elementor container, optionally moving its children to the parent (`preserve_children`).                                                                                                                                                     | **Destructive** · Safe to retry  |
| [Update Elementor Container](#update-elementor-container)           | Update the layout of an Elementor container: layout, direction, content width, alignment, spacing and number of inner columns.                                                                                                                         | Changes the site · Safe to retry |
| [Edit Elementor Container Styles](#edit-elementor-container-styles) | Update the styling of an Elementor container: background (color, image, gradient or video via the "background" object), padding/margin, border (radius/width/color/style), opacity and z-index, with responsive device targeting.                      | Changes the site · Safe to retry |
| [Assign Elementor Global Color](#assign-elementor-global-color)     | Assign a global color from the active Elementor kit to a widget color property, such as title\_color (heading color), text\_color (paragraph color), background\_color, button\_background\_color, button\_text\_color, border\_color or hover\_color. | Changes the site · Safe to retry |
| [Update Elementor Global Styles](#update-elementor-global-styles)   | Update Elementor global colors and typography presets in the active kit in one call, which regenerates the site-wide CSS.                                                                                                                              | Changes the site · Safe to retry |
| [Get Elementor Active Kit](#get-elementor-active-kit)               | Get the active Elementor kit with its global colors, typography presets, custom CSS and theme style settings.                                                                                                                                          | Read-only                        |
| [Get Elementor Kit by ID](#get-elementor-kit-by-id)                 | Get one Elementor kit by post ID with its global colors, typography presets and theme style settings.                                                                                                                                                  | Read-only                        |
| [List Elementor Pages](#list-elementor-pages)                       | List the posts, pages and custom post type posts built with Elementor, filterable by post type and status, with pagination.                                                                                                                            | Read-only                        |
| [Get Elementor Page Structure](#get-elementor-page-structure)       | Get a readable tree of the containers and widgets on an Elementor page, with their IDs, without raw JSON.                                                                                                                                              | Read-only                        |
| [List Elementor Templates](#list-elementor-templates)               | List the Elementor library templates with their template type, with pagination.                                                                                                                                                                        | Read-only                        |
| [Update Elementor Widget Content](#update-elementor-widget-content) | Update the text of an Elementor heading, button or text-editor widget, keeping all its other settings.                                                                                                                                                 | Changes the site · Safe to retry |
| [Get Elementor Widget by ID](#get-elementor-widget-by-id)           | Get all settings, the position and the parent of one Elementor widget.                                                                                                                                                                                 | Read-only                        |
| [Update Elementor Widget Image](#update-elementor-widget-image)     | Update the image of an Elementor image widget.                                                                                                                                                                                                         | Changes the site · Safe to retry |
| [Update Elementor Widget Link](#update-elementor-widget-link)       | Update the link URL of a button or other link-capable Elementor widget, including its external and nofollow attributes.                                                                                                                                | Changes the site · Safe to retry |
| [Find Elementor Widgets](#find-elementor-widgets)                   | Find the widgets of given types on an Elementor page, with their settings and position.                                                                                                                                                                | Read-only                        |
| [Update Elementor Widget Styles](#update-elementor-widget-styles)   | Update the visual styles of an Elementor widget: colors, typography, spacing (padding/margin), borders and alignment, as direct or responsive values.                                                                                                  | Changes the site · Safe to retry |

## Create Elementor Container

`hostinger-ai/elementor-containers-create` · Changes the site

Create an Elementor container (section) at the root of a page or inside a parent container, optionally with inner columns.

| Required parameter | Type    | Description                       |
| ------------------ | ------- | --------------------------------- |
| `post_id`          | integer | The ID of the post/page to modify |

<details>

<summary>Optional parameters (9)</summary>

| Parameter       | Type                                              | Default | Description                                                                                    |
| --------------- | ------------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------- |
| `parent_id`     | string                                            |         | Optional parent container ID. If omitted, operations happen at the root level.                 |
| `position`      | one of `start`, `end`, `before`, `after`, `index` | `end`   | Insertion position relative to list (start/end), a sibling (before/after) or a specific index. |
| `sibling_id`    | string                                            |         | Required when position is before/after. The sibling element ID.                                |
| `index`         | integer                                           |         | Zero-based index to insert at when position is index.                                          |
| `layout`        | one of `flex`, `grid`                             |         | Container layout type                                                                          |
| `direction`     | one of `row`, `column`                            |         | Flex direction (row or column). Applies to flex layout.                                        |
| `content_width` | one of `boxed`, `full_width`                      |         | Content width behavior for the container                                                       |
| `css_class`     | string                                            |         | Optional CSS class to assign/update on the container                                           |
| `columns`       | integer                                           |         | Number of inner columns (containers)                                                           |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Create an Elementor container (section) at the root of a page or inside a parent container, optionally with inner columns. Use when asked to add a new section or column layout. Needs `post_id` from `hostinger-ai/elementor-pages-search`, and `parent_id` from `hostinger-ai/elementor-pages-structure-get` when nesting.

</details>

## Delete Elementor Container

`hostinger-ai/elementor-containers-delete` · **Destructive** · Safe to retry

Remove an Elementor container, optionally moving its children to the parent (`preserve_children`).

| Required parameter | Type    | Description                       |
| ------------------ | ------- | --------------------------------- |
| `post_id`          | integer | The ID of the post/page to modify |
| `container_id`     | string  | The ID of the target container    |

<details>

<summary>Optional parameters (2)</summary>

| Parameter           | Type    | Default | Description                                                                                           |
| ------------------- | ------- | ------- | ----------------------------------------------------------------------------------------------------- |
| `preserve_children` | boolean | `false` | If true, move the container's children into the parent at the same position instead of deleting them. |
| `confirm`           | boolean | `false` | Confirm deletion when the subtree is complex (many descendants) and children will be removed.         |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Remove an Elementor container, optionally moving its children to the parent (`preserve_children`). If it holds a complex subtree the call returns requires\_confirmation; repeat it with `confirm` set to true. Use when asked to delete a section. Needs `post_id` from `hostinger-ai/elementor-pages-search` and `container_id` from `hostinger-ai/elementor-pages-structure-get`.

</details>

## Update Elementor Container

`hostinger-ai/elementor-containers-layout-update` · Changes the site · Safe to retry

Update the layout of an Elementor container: layout, direction, content width, alignment, spacing and number of inner columns.

| Required parameter | Type    | Description                       |
| ------------------ | ------- | --------------------------------- |
| `post_id`          | integer | The ID of the post/page to modify |
| `container_id`     | string  | The ID of the target container    |

<details>

<summary>Optional parameters (12)</summary>

| Parameter             | Type                                                                                       | Default | Description                                                                                  |
| --------------------- | ------------------------------------------------------------------------------------------ | ------- | -------------------------------------------------------------------------------------------- |
| `layout`              | one of `flex`, `grid`                                                                      |         | Container layout type                                                                        |
| `direction`           | one of `row`, `column`                                                                     |         | Flex direction (row or column). Applies to flex layout.                                      |
| `content_width`       | one of `boxed`, `full_width`                                                               |         | Content width behavior for the container                                                     |
| `css_class`           | string                                                                                     |         | Optional CSS class to assign/update on the container                                         |
| `align_items`         | one of `flex-start`, `center`, `flex-end`, `stretch`, `baseline`                           |         | Cross‑axis alignment for flex containers                                                     |
| `justify_content`     | one of `flex-start`, `center`, `flex-end`, `space-between`, `space-around`, `space-evenly` |         | Main‑axis alignment for flex containers                                                      |
| `gap`                 | number                                                                                     |         | Overall gap between child items (px)                                                         |
| `row_gap`             | number                                                                                     |         | Row gap for grid or multi‑row flex (px)                                                      |
| `column_gap`          | number                                                                                     |         | Column gap for grid or flex (px)                                                             |
| `columns`             | integer                                                                                    |         | Target number of inner columns (containers)                                                  |
| `preserve_children`   | boolean                                                                                    | `true`  | When reducing columns, keep removed columns’ children by moving them into a remaining column |
| `distribute_children` | one of `first`, `last`, `even`                                                             | `even`  | If preserving children, where to place them into remaining columns                           |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Update the layout of an Elementor container: layout, direction, content width, alignment, spacing and number of inner columns. Use when asked to change how a section is laid out; for backgrounds, padding, margin and borders use `hostinger-ai/elementor-containers-styles-update`. Needs `post_id` from `hostinger-ai/elementor-pages-search` and `container_id` from `hostinger-ai/elementor-pages-structure-get`.

</details>

## Edit Elementor Container Styles

`hostinger-ai/elementor-containers-styles-update` · Changes the site · Safe to retry

Update the styling of an Elementor container: background (color, image, gradient or video via the "background" object), padding/margin, border (radius/width/color/style), opacity and z-index, with responsive device targeting.

| Required parameter | Type    | Description                       |
| ------------------ | ------- | --------------------------------- |
| `post_id`          | integer | The ID of the post/page to modify |
| `container_id`     | string  | The ID of the target container    |

<details>

<summary>Optional parameters (12)</summary>

| Parameter          | Type                                                 | Default   | Description                                                                                                                                         |
| ------------------ | ---------------------------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `background`       | object                                               |           | Full background; replaces the existing one and takes precedence over background\_color. Fill the fields of the chosen type; type "none" removes it. |
| `device`           | one of `desktop`, `tablet`, `mobile`                 | `desktop` |                                                                                                                                                     |
| `background_color` | string                                               |           | Solid background color; replaces any existing background. Ignored when `background` is set.                                                         |
| `padding`          | number or object                                     |           |                                                                                                                                                     |
| `margin`           | number or object                                     |           |                                                                                                                                                     |
| `border_radius`    | number or object                                     |           |                                                                                                                                                     |
| `border_width`     | number or object                                     |           |                                                                                                                                                     |
| `border_color`     | string                                               |           |                                                                                                                                                     |
| `border_style`     | one of `none`, `solid`, `dashed`, `dotted`, `double` |           |                                                                                                                                                     |
| `opacity`          | number                                               |           |                                                                                                                                                     |
| `z_index`          | integer                                              |           |                                                                                                                                                     |
| `css_class`        | string                                               |           |                                                                                                                                                     |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Update the styling of an Elementor container: background (color, image, gradient or video via the "background" object), padding/margin, border (radius/width/color/style), opacity and z-index, with responsive device targeting. Padding, margin, border\_radius and border\_width each take a number in px for all sides, or an object with top, right, bottom, left and unit. Setting any background replaces the existing one, so check the current background with `hostinger-ai/elementor-pages-structure-get` first. Use when asked to restyle a section; for layout use `hostinger-ai/elementor-containers-layout-update`. Needs `post_id` from `hostinger-ai/elementor-pages-search` and `container_id` from `hostinger-ai/elementor-pages-structure-get`.

</details>

## Assign Elementor Global Color

`hostinger-ai/elementor-global-colors-assign` · Changes the site · Safe to retry

Assign a global color from the active Elementor kit to a widget color property, such as title\_color (heading color), text\_color (paragraph color), background\_color, button\_background\_color, button\_text\_color, border\_color or hover\_color.

| Required parameter | Type                                                                                                                                                                                      | Description                                                                                                                                                                                                       |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `post_id`          | integer                                                                                                                                                                                   | The ID of the post/page containing the widget                                                                                                                                                                     |
| `widget_id`        | string                                                                                                                                                                                    | The unique ID of the widget to update                                                                                                                                                                             |
| `property`         | one of `title_color`, `text_color`, `background_color`, `button_background_color`, `button_text_color`, `border_color`, `hover_color`, `icon_color`, `description_color`, `heading_color` | The color property to assign. Common properties: title\_color (for headings), text\_color (for text), background\_color, button\_background\_color, button\_text\_color, border\_color, hover\_color, icon\_color |
| `global_color_id`  | string                                                                                                                                                                                    | The global color ID from the active kit, as returned by `hostinger-ai/elementor-kits-active-get`. Common system colors: primary, secondary, text, accent. Custom colors have unique IDs like "09cc561".           |

<details>

<summary>Description sent to AI tools</summary>

> Assign a global color from the active Elementor kit to a widget color property, such as title\_color (heading color), text\_color (paragraph color), background\_color, button\_background\_color, button\_text\_color, border\_color or hover\_color. This creates a dynamic link: when the global color changes in the kit, every widget using it updates. Use when a widget should use a brand color. Needs `post_id` from `hostinger-ai/elementor-pages-search`, `widget_id` from `hostinger-ai/elementor-pages-structure-get` and `global_color_id` from `hostinger-ai/elementor-kits-active-get`.

</details>

## Update Elementor Global Styles

`hostinger-ai/elementor-global-styles-update` · Changes the site · Safe to retry

Update Elementor global colors and typography presets in the active kit in one call, which regenerates the site-wide CSS.

No required parameters.

<details>

<summary>Optional parameters (2)</summary>

| Parameter    | Type            | Description                       |
| ------------ | --------------- | --------------------------------- |
| `colors`     | array of object | List of global color updates      |
| `typography` | array of object | List of typography preset updates |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Update Elementor global colors and typography presets in the active kit in one call, which regenerates the site-wide CSS. Use for site-wide design changes such as "Change primary color to red" or "Change heading font to Arial". Current IDs and values come from `hostinger-ai/elementor-kits-active-get`.

</details>

## Get Elementor Active Kit

`hostinger-ai/elementor-kits-active-get` · Read-only

Get the active Elementor kit with its global colors, typography presets, custom CSS and theme style settings.

No required parameters.

<details>

<summary>Optional parameters (3)</summary>

| Parameter            | Type    | Default | Description                                          |
| -------------------- | ------- | ------- | ---------------------------------------------------- |
| `include_colors`     | boolean | `true`  | Include global colors in response. Default: true     |
| `include_typography` | boolean | `true`  | Include global typography in response. Default: true |
| `include_settings`   | boolean | `false` | Include all other kit settings. Default: false       |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Get the active Elementor kit with its global colors, typography presets, custom CSS and theme style settings. Use when you need a global color or font ID, or the site-wide Elementor design.

</details>

## Get Elementor Kit by ID

`hostinger-ai/elementor-kits-get` · Read-only

Get one Elementor kit by post ID with its global colors, typography presets and theme style settings.

| Required parameter | Type    | Description                      |
| ------------------ | ------- | -------------------------------- |
| `kit_id`           | integer | The post ID of the Elementor kit |

<details>

<summary>Optional parameters (3)</summary>

| Parameter            | Type    | Default | Description                                          |
| -------------------- | ------- | ------- | ---------------------------------------------------- |
| `include_colors`     | boolean | `true`  | Include global colors in response. Default: true     |
| `include_typography` | boolean | `true`  | Include global typography in response. Default: true |
| `include_settings`   | boolean | `false` | Include all other kit settings. Default: false       |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Get one Elementor kit by post ID with its global colors, typography presets and theme style settings. Use when you need a kit other than the active one. Needs `kit_id` from `hostinger-ai/elementor-kits-active-get` or `hostinger-ai/elementor-templates-search`.

</details>

## List Elementor Pages

`hostinger-ai/elementor-pages-search` · Read-only

List the posts, pages and custom post type posts built with Elementor, filterable by post type and status, with pagination.

No required parameters.

<details>

<summary>Optional parameters (4)</summary>

| Parameter     | Type                                                   | Default | Description                                               |
| ------------- | ------------------------------------------------------ | ------- | --------------------------------------------------------- |
| `post_type`   | one of `page`, `post`, `any`                           | `any`   | Filter by post type (page, post, any). Default: any       |
| `post_status` | one of `publish`, `draft`, `pending`, `private`, `any` | `any`   | Filter by post status (publish, draft, any). Default: any |
| `limit`       | integer                                                | `50`    | Number of pages to return. Default: 50                    |
| `offset`      | integer                                                | `0`     | Number of pages to skip for pagination. Default: 0        |

</details>

<details>

<summary>Description sent to AI tools</summary>

> List the posts, pages and custom post type posts built with Elementor, filterable by post type and status, with pagination. Use when you need the `post_id` of an Elementor page before reading or editing it.

</details>

## Get Elementor Page Structure

`hostinger-ai/elementor-pages-structure-get` · Read-only

Get a readable tree of the containers and widgets on an Elementor page, with their IDs, without raw JSON.

| Required parameter | Type    | Description                                  |
| ------------------ | ------- | -------------------------------------------- |
| `post_id`          | integer | The ID of the post/page to get structure for |

<details>

<summary>Optional parameters (2)</summary>

| Parameter          | Type    | Default | Description                                     |
| ------------------ | ------- | ------- | ----------------------------------------------- |
| `max_depth`        | integer | `10`    | Maximum recursion depth to display. Default: 10 |
| `include_settings` | boolean | `false` | Whether to include settings. Default: false     |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Get a readable tree of the containers and widgets on an Elementor page, with their IDs, without raw JSON. Each container reports its existing background (video/image/gradient/color) in a "background" field; always check it before suggesting or adding a background, so you do not overwrite an existing video or image background. Use when you need a `container_id` or `widget_id` before editing a page. Needs `post_id` from `hostinger-ai/elementor-pages-search`.

</details>

## List Elementor Templates

`hostinger-ai/elementor-templates-search` · Read-only

List the Elementor library templates with their template type, with pagination.

No required parameters.

<details>

<summary>Optional parameters (3)</summary>

| Parameter     | Type                                                   | Default | Description                                               |
| ------------- | ------------------------------------------------------ | ------- | --------------------------------------------------------- |
| `post_status` | one of `publish`, `draft`, `pending`, `private`, `any` | `any`   | Filter by post status (publish, draft, any). Default: any |
| `limit`       | integer                                                | `50`    | Number of templates to return. Default: 50                |
| `offset`      | integer                                                | `0`     | Number of templates to skip for pagination. Default: 0    |

</details>

<details>

<summary>Description sent to AI tools</summary>

> List the Elementor library templates with their template type, with pagination. Use when asked which saved templates, headers, footers, sections or kits exist.

</details>

## Update Elementor Widget Content

`hostinger-ai/elementor-widgets-content-update` · Changes the site · Safe to retry

Update the text of an Elementor heading, button or text-editor widget, keeping all its other settings.

| Required parameter | Type    | Description                                   |
| ------------------ | ------- | --------------------------------------------- |
| `post_id`          | integer | The ID of the post/page containing the widget |
| `widget_id`        | string  | The unique ID of the widget to update         |
| `content`          | string  | The new content text                          |

<details>

<summary>Description sent to AI tools</summary>

> Update the text of an Elementor heading, button or text-editor widget, keeping all its other settings. Use when asked to change the wording on an Elementor page. Needs `post_id` from `hostinger-ai/elementor-pages-search` and `widget_id` from `hostinger-ai/elementor-pages-structure-get`.

</details>

## Get Elementor Widget by ID

`hostinger-ai/elementor-widgets-get` · Read-only

Get all settings, the position and the parent of one Elementor widget.

| Required parameter | Type    | Description                                   |
| ------------------ | ------- | --------------------------------------------- |
| `post_id`          | integer | The ID of the post/page containing the widget |
| `widget_id`        | string  | The unique ID of the widget to retrieve       |

<details>

<summary>Description sent to AI tools</summary>

> Get all settings, the position and the parent of one Elementor widget. Use when you need the current settings of a widget before changing it. Needs `post_id` from `hostinger-ai/elementor-pages-search` and `widget_id` from `hostinger-ai/elementor-pages-structure-get`.

</details>

## Update Elementor Widget Image

`hostinger-ai/elementor-widgets-image-update` · Changes the site · Safe to retry

Update the image of an Elementor image widget.

| Required parameter | Type    | Description                                                                                                                                                                                                                                                     |
| ------------------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `post_id`          | integer | The ID of the post/page containing the widget                                                                                                                                                                                                                   |
| `widget_id`        | string  | The unique ID of the image widget to update                                                                                                                                                                                                                     |
| `image_url`        | string  | The new image URL. Must be a real, currently reachable URL that returns HTTP 200 (not a 404, placeholder, or made-up URL). Use a WordPress media library URL - sideload external images with `hostinger-ai/media-upload-from-url` first to avoid broken images. |

<details>

<summary>Optional parameters (2)</summary>

| Parameter  | Type    | Description                                                                                                                                                                                                                                                                                 |
| ---------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `image_id` | integer | Optional but recommended: WordPress media library attachment ID (from `hostinger-ai/media-search`, `hostinger-ai/media-list` or `hostinger-ai/media-upload-from-url`). Using a media library image is the most reliable way to avoid 404 images. When provided, it should match image\_url. |
| `alt_text` | string  | Optional: Image alt text for accessibility                                                                                                                                                                                                                                                  |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Update the image of an Elementor image widget. Use when asked to replace a picture on an Elementor page. IMPORTANT: only use an image\_url that is publicly reachable and returns HTTP 200 - never a placeholder or hallucinated URL, as this causes broken (404) images. Do not invent image URLs. Never hotlink an external image straight into a widget, because external URLs can expire and break. To use an image from the web, first sideload it with `hostinger-ai/media-upload-from-url`, then pass the returned attachment id as image\_id and its url as image\_url. To reuse an existing image, find it with `hostinger-ai/media-search` or `hostinger-ai/media-list` and pass its image\_id. Needs `post_id` from `hostinger-ai/elementor-pages-search` and `widget_id` from `hostinger-ai/elementor-pages-structure-get`.

</details>

## Update Elementor Widget Link

`hostinger-ai/elementor-widgets-link-update` · Changes the site · Safe to retry

Update the link URL of a button or other link-capable Elementor widget, including its external and nofollow attributes.

| Required parameter | Type    | Description                                   |
| ------------------ | ------- | --------------------------------------------- |
| `post_id`          | integer | The ID of the post/page containing the widget |
| `widget_id`        | string  | The unique ID of the widget to update         |
| `url`              | string  | The new link URL                              |

<details>

<summary>Optional parameters (2)</summary>

| Parameter     | Type    | Default | Description                      |
| ------------- | ------- | ------- | -------------------------------- |
| `is_external` | boolean | `false` | Optional: Open link in new tab   |
| `nofollow`    | boolean | `false` | Optional: Add nofollow attribute |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Update the link URL of a button or other link-capable Elementor widget, including its external and nofollow attributes. Use when asked to change where a button or link points. Needs `post_id` from `hostinger-ai/elementor-pages-search` and `widget_id` from `hostinger-ai/elementor-pages-structure-get`.

</details>

## Find Elementor Widgets

`hostinger-ai/elementor-widgets-search` · Read-only

Find the widgets of given types on an Elementor page, with their settings and position.

| Required parameter | Type            | Description                                                                 |
| ------------------ | --------------- | --------------------------------------------------------------------------- |
| `post_id`          | integer         | The ID of the post/page to search in                                        |
| `widget_types`     | array of string | Array of widget types to search for (e.g., \["button", "heading", "image"]) |

<details>

<summary>Optional parameters (3)</summary>

| Parameter          | Type    | Default | Description                                               |
| ------------------ | ------- | ------- | --------------------------------------------------------- |
| `max_depth`        | integer | `10`    | Maximum search depth. Default: 10                         |
| `include_settings` | boolean | `true`  | Whether to include widget settings. Default: true         |
| `css_class_filter` | string  |         | Optional CSS class to filter by (e.g., "hostinger-ai-\*") |

</details>

<details>

<summary>Description sent to AI tools</summary>

> Find the widgets of given types on an Elementor page, with their settings and position. Use when you need the IDs of every widget of a kind, such as all buttons or headings on a page. Needs `post_id` from `hostinger-ai/elementor-pages-search`.

</details>

## Update Elementor Widget Styles

`hostinger-ai/elementor-widgets-styles-update` · Changes the site · Safe to retry

Update the visual styles of an Elementor widget: colors, typography, spacing (padding/margin), borders and alignment, as direct or responsive values.

| Required parameter | Type    | Description |
| ------------------ | ------- | ----------- |
| `post_id`          | integer |             |
| `widget_id`        | string  |             |
| `styles`           | object  |             |

<details>

<summary>Description sent to AI tools</summary>

> Update the visual styles of an Elementor widget: colors, typography, spacing (padding/margin), borders and alignment, as direct or responsive values. Pass only the styles to change. Colors are CSS values such as "#FF0000" or "rgb(255,0,0)"; side values (top, right, bottom, left) are strings such as "10"; font\_weight is "100" to "900", "normal" or "bold"; set `reset` to true to remove padding or margin. Use when asked to restyle a single widget; to link a widget to a brand color use `hostinger-ai/elementor-global-colors-assign`. Needs `post_id` from `hostinger-ai/elementor-pages-search` and `widget_id` from `hostinger-ai/elementor-pages-structure-get`.

</details>

## Related

* [Abilities Reference](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/abilities.md)
* [WordPress Site MCP Server](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/mcp-server.md)
