AI Abilities is a Premium Addons for Elementor feature that connects AI clients such as Claude, Cursor, and Codex to your WordPress site through a built-in MCP server. Each ability is one action the connected AI can perform on your site. This doc covers one of the Discovery abilities: Get Active Theme Info.
Get Active Theme Info lets your AI client read which theme your site runs: its name and version, whether it is a child theme, whether it is a block theme, which theme features it supports, and which navigation menu locations it registers.
Themes shape how a site behaves. A block theme takes its styles from theme.json, a classic theme does not, and advice that is safe on a child theme can cost you your changes on a parent. This ability hands the AI that context before it starts working.
At a Glance
| Category | Discovery |
| Access | Read-only |
| Destructive | No |
| MCP tool name | premium-addons/get-theme-info |
| Available since | Premium Addons v4.11.86 |
Before You Start
This ability is part of the AI Abilities feature. If you have not set it up yet, follow the Elementor AI Abilities (MCP Tools) Tutorial first to enable the feature and connect your AI client. The ability must also be switched on under Premium Addons → AI Abilities & MCP Config, in the Discovery category:
Use Cases
Build with the theme, not against it. Ask for a new section and the AI first checks what it is building on. A block theme and a classic theme handle global styles differently, and the theme’s supported features tell the AI what the site can do, so it picks an approach that fits your setup instead of a generic one.
Get a straight answer on customization safety. Ask “Can I change my theme without losing it on the next update?” and the AI sees whether a child theme is active, or at least installed, and answers for your actual setup: build on the child, or set one up first.
Open every site audit with the theme card. Paired with the other Discovery abilities, this gives an AI-written site report its foundation: theme name and version, parent relation, supported features such as custom logos and wide alignment, and the menu locations your navigation hangs on.
Good to Know
- The feature check probes a fixed list of eight supports: post thumbnails, custom logo, editor styles, block styles, wide alignment, responsive embeds, custom background, and HTML5 markup. Every site gets the same list, so results are comparable across sites.
- On a child theme setup,
activeholds the child’s slug andparentholds the parent’s. When the active theme is not a child, the two match. has_childis true when any installed theme is a child of the parent theme, even if that child is not the one currently active.- The two directory fields are absolute paths on the server, which helps the AI reason about where the theme’s files live.
- Reading theme info requires an administrator: the connected WordPress user must be able to manage options.
Inputs
This ability takes no inputs. Call it and it returns the active theme’s identity and capabilities.
Output
| Field | Description |
|---|---|
active | Slug of the active theme. On a child theme setup, this is the child’s slug. |
parent | Slug of the parent theme. Matches active when the active theme is not a child theme. |
is_child | Whether the active theme is a child theme. |
is_block_theme | Whether the active theme is a block theme, meaning its styles come from theme.json and block templates. |
name | Display name of the active theme. |
version | Version of the active theme. |
stylesheet_dir | Server path of the active theme’s directory. |
template_dir | Server path of the parent theme’s directory. |
supports | Which of the eight probed theme features the active theme supports. |
menu_locations | Navigation menu locations registered by the theme, keyed by location slug with each location’s label. Empty when the theme registers none. |
has_child | Whether an installed theme is a child of the parent theme, whether or not it is the active one. |
Come & Join the Community
Feel free to join our Facebook group and subscribe to our YouTube channel to keep up with our newest features, improvements, and helpful video tutorials.