delete_theme
Delete a non-active theme from Shopify using its theme ID. The main active theme cannot be deleted.
Instructions
Delete a theme. The active (MAIN) theme cannot be deleted. Requires write_themes access scope and a Shopify exemption.
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": {
"theme_id": "<theme_id>"
},
"name": "delete_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme_id | Yes | The GID of the theme to delete (e.g. 'gid://shopify/OnlineStoreTheme/123'). |