manage_theme
Apply theme-specific coding standards for Magento 2 frontend development, including built-in presets like Hyva, Luma, Breeze, and Porto, or add custom themes via JSON files.
Instructions
Manage theme-specific coding standards. Themes layer additional rules on top of base Magento standards. Built-in presets: hyva (Alpine.js + TailwindCSS), luma (jQuery + RequireJS + LESS), breeze (Vanilla JS), porto (Luma-based + Porto widgets). Custom themes can be added as JSON files.
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": {
"action": "<action>"
},
"name": "manage_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: "list" shows available themes, "set" activates a theme, "clear" deactivates theme, "info" shows theme details | |
| themeId | No | Theme ID to set or get info for (e.g., "hyva", "luma", "breeze", "porto", or custom theme ID) |