PluginProbe
Elementor Website Builder – more than just a page builder / 4.3.1
Elementor Website Builder – more than just a page builder v4.3.1
4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 All 454 releases
elementor / modules / mcp / static-resources / abilities / list-components.md

list-components.md in Elementor Website Builder – more than just a page builder 4.3.1, at modules/mcp/static-resources/abilities/list-components.md

29 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 Returns the components available on this site. Each component is a user-defined reusable composition of widgets stored as a post, embeddable in any document via the `<e-component>` XML tag in `elementor/build-composition`.
2
3 Every successful response includes `capabilities` for the current user and license tier:
4 - `can_create`: new components may be created.
5 - `can_edit`: existing components may be updated.
6 - `can_add_to_page`: components may be placed in page compositions.
7
8 Call in two steps, the same way `elementor/list-widget-schemas` works:
9
10 1. **Discovery** — call with no arguments to list every component without its schema. Returns `id`, `name`, `uid` per component. Archived components are never listed.
11 2. **Schemas** — call again with `component_ids` set to the id(s) you actually intend to place (batch them in one call) to get each component's `overridable_props`.
12
13 Always discover first. Requesting schemas for every component is wasteful on sites with many components.
14
15 - `id`: numeric post ID used to reference the component
16 - `name`: the human-readable title the user gave the component
17 - `uid`: stable string identifier
18 - `is_archived`: only returned for components requested via `component_ids` — an archived component cannot be placed, so pick another one
19 - `overridable_props`: only returned for components requested via `component_ids`
20
21 If any requested id is not a component, the call fails with `elementor_not_found` — no partial results.
22
23 Each entry in `overridable_props` maps an `override_key` to:
24 - `label`: human-readable name (e.g. "Heading Title", "CTA URL") — use this to understand what value to pass
25 - `group_id`: optional grouping for display
26 - `origin_prop_schema`: plain-value JSON Schema for the override value (no `$$type` envelopes — same convention as `elementor/get-widget-schema`)
27
28 Place components via `elementor/build-composition` (see its COMPONENTS section). Update an existing instance's overrides via `elementor/manage-elements` with `settings.overrides` — a deep-merge, and `null` clears a key.
29