create_theme
Create a reusable theme. Pass baseThemeId (from list_themes) to start from an existing theme's full design, then set what should differ in variables. Call list_theme_properties for the supported properties. Apply it to pages with themeId on create/update_checkout_page, create/update_event or create/update_form.
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": {
"name": "<name>"
},
"name": "create_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Theme name, unique within your account. | |
| variables | No | Design and labels to set, in the same shape as a page's `themeOverrides`. Keys you leave out keep their value, and `null` resets a property, or everything under a key. Call `list_theme_properties` for the supported properties. | |
| baseThemeId | No | A theme to start from: one of your themes or a built-in one. The new theme copies all of its settings, including order bump styling, which only the dashboard can change, and `variables` is applied on top. A copy of a built-in theme does not pick up your store's brand color automatically; set `tokens.colorPrimary` if you want it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |