elementor/get-theme-context returns the active theme, the Elementor version, the active kit and the viewport settings.
It is the foundation snapshot: the facts everything else about a site’s design depends on.
At a glance
| Ability | elementor/get-theme-context |
| Toolset | Elementor — toolset/elementor |
| Group | Elementor › Discovery & Guidance |
| Requires | Elementor, active on the site |
| Capability | manage_options |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
How it works
The theme matters more on an Elementor site than people expect. A theme designed for Elementor gets out of the way; a conventional theme fights it, wrapping content in its own containers with their own widths and margins — which is why the same layout looks different on two sites with identical documents.
The Elementor version decides which features exist. Containers, nested elements, grid layout and several widgets arrived in specific versions, and a document using them on an older install renders as something else.
The viewport settings are the breakpoints. Elementor’s responsive controls are defined against them, so a site with customised breakpoints behaves differently from the defaults in ways no individual element reveals.
The active kit is where the styling comes from, and knowing which one is active is the precondition for reading or changing it.
One cheap call before any design work.
Input
This ability takes no input.
What comes back
| Name | Type | What it is |
|---|---|---|
theme | object | The active theme and its version. |
elementor_version | string | The installed Elementor version. |
active_kit | object | The active kit. |
viewports | object | The configured breakpoints. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation. |
Example
Ask your assistant:
What is the design setup on this site?
It resolves to one call:
{
"ability": "elementor/get-theme-context",
"parameters": {}
}Worth knowing
- A conventional theme wraps Elementor content in its own containers.
- Feature availability follows the Elementor version.
- Customised breakpoints change how every responsive control behaves.
- Read-only.
Related abilities
- Get Elementor Style Guide — the styling in detail
- Evaluate Elementor Render Context — per-page wrapper detail
- List Elementor Experiments — which features are switched on
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category