Shopemail is an MCP server published by app.shopemail, hosted at shopemail.app. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 80 tools, including open_editor, get_context, list_theme_examples, get_theme_example, list_themes.
Design, preview, and export Shopify notification emails in your authorized Shopemail theme.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Open the interactive email editor with the exact working theme, notification, blocks, fields, preview and downloads. All actions retain the connection permissions.
| Parameter | Type | Description |
|---|---|---|
| key | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| theme_id | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "open_editor",
"title": "Open the Shopemail editor",
"description": "Open the interactive email editor with the exact working theme, notification, blocks, fields, preview and downloads. All actions retain the connection permissions.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Open the Shopemail editor",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return the authorized workspace, current theme, accessible themes and granted capabilities. Theme IDs identify the exact target of edits.
No parameters.
{
"name": "get_context",
"title": "Identify the current theme and permissions",
"description": "Return the authorized workspace, current theme, accessible themes and granted capabilities. Theme IDs identify the exact target of edits.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Identify the current theme and permissions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Browse and search public Shopemail theme examples that can be copied into an authorized workspace.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| query | string | |
| offset | integer | |
| category | string |
{
"name": "list_theme_examples",
"title": "Browse public theme examples",
"description": "Browse and search public Shopemail theme examples that can be copied into an authorized workspace.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 100
},
"offset": {
"type": "integer",
"maximum": 1000,
"minimum": 0
},
"category": {
"type": "string",
"maxLength": 60
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Browse public theme examples",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read a public example description, structure and appearance before copying it.
| Parameter | Type | Description |
|---|---|---|
| example_id * | string |
{
"name": "get_theme_example",
"title": "Inspect a public theme example",
"description": "Read a public example description, structure and appearance before copying it.",
"inputSchema": {
"type": "object",
"required": [
"example_id"
],
"properties": {
"example_id": {
"type": "string",
"maxLength": 100
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Inspect a public theme example",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List owned theme names and immutable IDs within the granted scope. A single-theme grant returns only that theme.
| Parameter | Type | Description |
|---|---|---|
| include_archived | boolean |
{
"name": "list_themes",
"title": "List accessible owned themes",
"description": "List owned theme names and immutable IDs within the granted scope. A single-theme grant returns only that theme.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"include_archived": {
"type": "boolean"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "List accessible owned themes",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read the specified authorized theme and its authored appearance, without preview sample values or unrelated themes.
| Parameter | Type | Description |
|---|---|---|
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "get_theme",
"title": "Inspect an owned theme",
"description": "Read the specified authorized theme and its authored appearance, without preview sample values or unrelated themes.",
"inputSchema": {
"type": "object",
"required": [
"theme_id"
],
"properties": {
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Inspect an owned theme",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List notification keys and customization summaries for the specified authorized theme.
| Parameter | Type | Description |
|---|---|---|
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "list_emails",
"title": "List theme notification emails",
"description": "List notification keys and customization summaries for the specified authorized theme.",
"inputSchema": {
"type": "object",
"required": [
"theme_id"
],
"properties": {
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "List theme notification emails",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read authored copy, styles, blocks and rules for the specified theme and notification. Preview sample values are excluded.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "read_email",
"title": "Read an email design",
"description": "Read authored copy, styles, blocks and rules for the specified theme and notification. Preview sample values are excluded.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Read an email design",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List native and custom block IDs, order, locks, visibility and valid insertion anchors for the specified email.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "list_blocks",
"title": "List email blocks and insertion anchors",
"description": "List native and custom block IDs, order, locks, visibility and valid insertion anchors for the specified email.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "List email blocks and insertion anchors",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read available copy fields, design choices and data-field eligibility for this email. This tool does not execute edits.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "get_email_options",
"title": "Inspect eligible email options",
"description": "Read available copy fields, design choices and data-field eligibility for this email. This tool does not execute edits.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Inspect eligible email options",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read the workspace saved condition library. Requires explicit workspace editor consent; contains no preview sample data.
No parameters.
{
"name": "list_rule_recipes",
"title": "List reusable rule recipes",
"description": "Read the workspace saved condition library. Requires explicit workspace editor consent; contains no preview sample data.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "List reusable rule recipes",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read schema-only snapshots last discovered in the connected store, with resource, type, binding eligibility and refresh time. Requires explicit workspace access. Does not fetch live values or expose saved samples.
| Parameter | Type | Description |
|---|---|---|
| resource | enum | one of ["product","variant","shop","order","metaobjects"] |
{
"name": "get_shopify_data_catalog",
"title": "Read discovered Shopify custom-data definitions",
"description": "Read schema-only snapshots last discovered in the connected store, with resource, type, binding eligibility and refresh time. Requires explicit workspace access. Does not fetch live values or expose saved samples.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"resource": {
"enum": [
"product",
"variant",
"shop",
"order",
"metaobjects"
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Read discovered Shopify custom-data definitions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List standard notification fields and registered metafield definitions for content or rules. Workspace grants also include Shopify definitions from the latest authorized discovery snapshot. Definition discovery does not prove a value exists when a notification sends.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| scope | enum | one of ["email","item"] |
| purpose | enum | one of ["content","rule"] |
{
"name": "list_data_fields",
"title": "List eligible email data fields",
"description": "List standard notification fields and registered metafield definitions for content or rules. Workspace grants also include Shopify definitions from the latest authorized discovery snapshot. Definition discovery does not prove a value exists when a notification sends.",
"inputSchema": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"scope": {
"enum": [
"email",
"item"
]
},
"purpose": {
"enum": [
"content",
"rule"
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "List eligible email data fields",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read the actual checked JSON format for variable content, conditions, field references or custom HTML/Liquid.
| Parameter | Type | Description |
|---|---|---|
| format * | enum | one of ["content","rule","field","code"] |
{
"name": "get_editor_formats",
"title": "Read an editor content format",
"description": "Read the actual checked JSON format for variable content, conditions, field references or custom HTML/Liquid.",
"inputSchema": {
"type": "object",
"required": [
"format"
],
"properties": {
"format": {
"enum": [
"content",
"rule",
"field",
"code"
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Read an editor content format",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read supported block types, properties, defaults and limits before constructing a block.
| Parameter | Type | Description |
|---|---|---|
| type | string | one of ["text","image","button","divider","spacer","post_feed","social","benefits","support","gallery","video","featured_product","product_grid","collection","discount","review","announcement","navigation","… |
{
"name": "get_block_formats",
"title": "Read supported block formats",
"description": "Read supported block types, properties, defaults and limits before constructing a block.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"type": {
"enum": [
"text",
"image",
"button",
"divider",
"spacer",
"post_feed",
"social",
"benefits",
"support",
"gallery",
"video",
"featured_product",
"product_grid",
"collection",
"discount",
"review",
"announcement",
"navigation",
"faq",
"steps",
"order_status",
"pickup",
"brand_footer",
"custom_code"
],
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Read supported block formats",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List public library images and authorized uploaded images usable in email blocks. Narrow grants reveal only uploads referenced by their theme.
| Parameter | Type | Description |
|---|---|---|
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "list_images",
"title": "List available email images",
"description": "List public library images and authorized uploaded images usable in email blocks. Narrow grants reveal only uploads referenced by their theme.",
"inputSchema": {
"type": "object",
"required": [
"theme_id"
],
"properties": {
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "List available email images",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read saved sample data for the authorized workspace or a theme notification. Requires explicitly granted workspace editor access.
| Parameter | Type | Description |
|---|---|---|
| key | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| theme_id | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "get_preview_data",
"title": "Read saved preview sample data",
"description": "Read saved sample data for the authorized workspace or a theme notification. Requires explicitly granted workspace editor access.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Read saved preview sample data",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Render the actual current email as preview HTML. Uses fictional library samples unless explicit data is supplied or authorized saved samples are requested.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| data | object | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| use_saved_samples | boolean |
{
"name": "preview_email",
"title": "Preview a notification email",
"description": "Render the actual current email as preview HTML. Uses fictional library samples unless explicit data is supplied or authorized saved samples are requested.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"data": {
"type": "object",
"additionalProperties": true
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"use_saved_samples": {
"type": "boolean"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Preview a notification email",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Compile and inspect the current authored email without saving a change. Return structural checks and a bounded source excerpt.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| max_characters | integer |
{
"name": "inspect_email",
"title": "Inspect compiled email HTML and Liquid",
"description": "Compile and inspect the current authored email without saving a change. Return structural checks and a bounded source excerpt.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"max_characters": {
"type": "integer",
"maximum": 12000,
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Inspect compiled email HTML and Liquid",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create an actual short-lived download of the specified current notification as Shopify Liquid or preview HTML. This does not install or send it.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| format | enum | one of ["liquid","html"] |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "export_email",
"title": "Download one notification template",
"description": "Create an actual short-lived download of the specified current notification as Shopify Liquid or preview HTML. This does not install or send it.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"format": {
"enum": [
"liquid",
"html"
]
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Download one notification template",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Create an actual ZIP download containing the current theme notification templates, required image copies and installation instructions.
| Parameter | Type | Description |
|---|---|---|
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| include_images | boolean |
{
"name": "export_theme",
"title": "Download a complete email theme",
"description": "Create an actual ZIP download containing the current theme notification templates, required image copies and installation instructions.",
"inputSchema": {
"type": "object",
"required": [
"theme_id"
],
"properties": {
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"include_images": {
"type": "boolean"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Download a complete email theme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Read bounded, scoped change summaries for the specified theme. Unrelated theme content and history are excluded.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "get_change_history",
"title": "Review theme edit history",
"description": "Read bounded, scoped change summaries for the specified theme. Unrelated theme content and history are excluded.",
"inputSchema": {
"type": "object",
"required": [
"theme_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Review theme edit history",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create a new theme with the header and essential native Shopify blocks for each notification. New themes inherit the store logo unless inherit_store_logo is false. Optional blocks can be added back. Use list_blocks to review the notification checklist.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
| inherit_store_logo | boolean |
{
"name": "create_custom_theme",
"title": "Create a custom email theme",
"description": "Create a new theme with the header and essential native Shopify blocks for each notification. New themes inherit the store logo unless inherit_store_logo is false. Optional blocks can be added back. Use list_blocks to review the notification checklist.",
"inputSchema": {
"type": "object",
"required": [
"name",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"name": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
},
"inherit_store_logo": {
"type": "boolean"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Create a custom email theme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Create an owned copy of a public theme example or an existing theme in the authorized workspace, with the supplied name.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| if_exists | string | one of ["return","error"] |
| source_id * | string | library stem (20: 01-porcelain, 02-paper, 03-studio, …) or an owned theme id |
| carry_from | string | |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| source_kind * | string | one of ["library","theme"] |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
| include_starters | boolean |
Rename the specified owned theme. Its immutable ID and authored content remain the same.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "rename_theme",
"title": "Rename a theme",
"description": "Rename the specified owned theme. Its immutable ID and authored content remain the same.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"name",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"name": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Rename a theme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Archive the specified theme without permanently deleting it. It can be restored.
| Parameter | Type | Description |
|---|---|---|
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "archive_theme",
"title": "Archive a theme",
"description": "Archive the specified theme without permanently deleting it. It can be restored.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Archive a theme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Restore an archived theme in the authorized scope.
| Parameter | Type | Description |
|---|---|---|
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "restore_theme",
"title": "Restore a theme",
"description": "Restore an archived theme in the authorized scope.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Restore a theme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set which owned theme is active in the authorized workspace.
| Parameter | Type | Description |
|---|---|---|
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_workspace_active_theme",
"title": "Set the workspace active theme",
"description": "Set which owned theme is active in the authorized workspace.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set the workspace active theme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Update one validated brand profile field shared by the workspace themes.
| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| value * | ["string","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_brand_details",
"title": "Update shared brand details",
"description": "Update one validated brand profile field shared by the workspace themes.",
"inputSchema": {
"type": "object",
"required": [
"key",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Update shared brand details",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Copy supported branding from one authorized owned theme to another authorized theme.
| Parameter | Type | Description |
|---|---|---|
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
| from_theme_id * | string |
{
"name": "copy_brand_settings",
"title": "Copy brand settings between themes",
"description": "Copy supported branding from one authorized owned theme to another authorized theme.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"from_theme_id",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
},
"from_theme_id": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Copy brand settings between themes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Configure a notification’s checked order-item cards, static products, scalar product title and additional detail bindings with missing-value fallbacks, columns and mobile stacking. Omit binding to restore the original theme layout. Does not change Shopify or confirm installation.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| binding | object | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Set a validated hosted logo inherited by new themes and existing themes explicitly using the store default. Custom logos and original theme headers are preserved. Null removes the default.
| Parameter | Type | Description |
|---|---|---|
| url * | ["string","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_store_brand_logo",
"title": "Set the store default email logo",
"description": "Set a validated hosted logo inherited by new themes and existing themes explicitly using the store default. Custom logos and original theme headers are preserved. Null removes the default.",
"inputSchema": {
"type": "object",
"required": [
"url",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"url": {
"type": [
"string",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set the store default email logo",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Link this theme to the store default logo. Future store-logo changes update its email headers. Existing custom logo is replaced; other theme styling is retained.
| Parameter | Type | Description |
|---|---|---|
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "use_store_brand_logo",
"title": "Use the store default logo for a theme",
"description": "Link this theme to the store default logo. Future store-logo changes update its email headers. Existing custom logo is replaced; other theme styling is retained.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Use the store default logo for a theme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Use an uploaded Shopemail image or an image in the merchant-confirmed Shopify Files folder as the theme’s email header logo. Pass null to restore the theme header.
| Parameter | Type | Description |
|---|---|---|
| url * | ["string","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_brand_logo",
"title": "Set a theme email logo",
"description": "Use an uploaded Shopemail image or an image in the merchant-confirmed Shopify Files folder as the theme’s email header logo. Pass null to restore the theme header.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"url",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"url": {
"type": [
"string",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set a theme email logo",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Use a hosted WOFF2 file in the confirmed Shopify Files folder across this theme. Email clients can use the existing font stacks as fallbacks. Pass null to remove the custom font.
| Parameter | Type | Description |
|---|---|---|
| url * | ["string","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_theme_font",
"title": "Set a theme custom font",
"description": "Use a hosted WOFF2 file in the confirmed Shopify Files folder across this theme. Email clients can use the existing font stacks as fallbacks. Pass null to remove the custom font.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"url",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"url": {
"type": [
"string",
"null"
],
"maxLength": 500
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set a theme custom font",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Mark a block as required for one email, or remove an additional requirement. Built-in essential requirements are retained. Use list_blocks to see missing, hidden and conditional checklist items.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| block_id * | string | |
| required * | boolean | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Set a named light or dark color role in the specified theme.
| Parameter | Type | Description |
|---|---|---|
| hex * | ["string","null"] | |
| mode * | string | one of ["light","dark"] |
| role * | string | one of ["accent","btn_text","page","email","ink","muted","rule","link"] |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_brand_color",
"title": "Set a theme brand color",
"description": "Set a named light or dark color role in the specified theme.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"mode",
"role",
"hex",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"hex": {
"type": [
"string",
"null"
]
},
"mode": {
"enum": [
"light",
"dark"
],
"type": "string"
},
"role": {
"enum": [
"accent",
"btn_text",
"page",
"email",
"ink",
"muted",
"rule",
"link"
],
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set a theme brand color",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set a supported typography value in the specified theme.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["font_display","font_body","headline_scale","wordmark.size","wordmark.tracking","wordmark.case"] |
| value * | ["string","number","boolean","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_brand_typography",
"title": "Set theme typography",
"description": "Set a supported typography value in the specified theme.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"font_display",
"font_body",
"headline_scale",
"wordmark.size",
"wordmark.tracking",
"wordmark.case"
],
"type": "string"
},
"value": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set theme typography",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set a supported shape value such as corner radius in the specified theme.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["button","radius"] |
| value * | ["string","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_brand_shape",
"title": "Set a theme shape value",
"description": "Set a supported shape value such as corner radius in the specified theme.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"button",
"radius"
],
"type": "string"
},
"value": {
"type": [
"string",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set a theme shape value",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set a supported, validated light appearance token in the specified theme.
| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| value * | ["string","number","boolean","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_theme_token",
"title": "Set a theme design token",
"description": "Set a supported, validated light appearance token in the specified theme.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set a theme design token",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set a supported, validated dark appearance token in the specified theme.
| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| value * | ["string","number","boolean","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_dark_theme_token",
"title": "Set a dark appearance token",
"description": "Set a supported, validated dark appearance token in the specified theme.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set a dark appearance token",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set a layout option supported by this theme structure.
| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| value * | ["string","number","boolean","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_theme_layout",
"title": "Set a theme layout option",
"description": "Set a layout option supported by this theme structure.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set a theme layout option",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Update one validated workspace setting used by its email themes. Merchant-only external URL confirmations remain separate.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["sb_address","sb_assets","sb_help_url","sb_monogram","sb_returns_url","sb_shipping_url","sb_tagline","sb_wordmark_alt"] |
| value * | ["string","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_shared_setting",
"title": "Set a shared email setting",
"description": "Update one validated workspace setting used by its email themes. Merchant-only external URL confirmations remain separate.",
"inputSchema": {
"type": "object",
"required": [
"key",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"sb_address",
"sb_assets",
"sb_help_url",
"sb_monogram",
"sb_returns_url",
"sb_shipping_url",
"sb_tagline",
"sb_wordmark_alt"
],
"type": "string"
},
"value": {
"type": [
"string",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set a shared email setting",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Update one supported email setting in the specified theme.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["sb_footer_note","sb_help_line","sb_hero_alt","sb_hero_url","sb_next_line","sb_next_shipping","sb_note_body","sb_note_title","sb_offer_body","sb_offer_title","sb_promise_1","sb_promise_2","sb_promise… |
| value * | ["string","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_theme_setting",
"title": "Set a theme email setting",
"description": "Update one supported email setting in the specified theme.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"sb_footer_note",
"sb_help_line",
"sb_hero_alt",
"sb_hero_url",
"sb_next_line",
"sb_next_shipping",
"sb_note_body",
"sb_note_title",
"sb_offer_body",
"sb_offer_title",
"sb_promise_1",
"sb_promise_2",
"sb_promise_3",
"sb_refund_timing",
"sb_refund_window",
"sb_side_url",
"sb_step_2",
"sb_step_3"
],
"type": "string"
},
"value": {
"type": [
"string",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set a theme email setting",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set the supported visibility state of a native email section.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| sid * | string | |
| state * | string | one of ["shown","hidden"] |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Lock or unlock a native section before a supported removal or visibility change.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| sid * | string | |
| locked * | boolean | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Remove an unlocked native section from an email. Validation reports essential information affected by the change.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| sid * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "remove_section",
"title": "Remove a native email section",
"description": "Remove an unlocked native section from an email. Validation reports essential information affected by the change.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"sid",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"sid": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Remove a native email section",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Restore a previously removed native section in an email.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| sid * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "restore_section",
"title": "Restore a native email section",
"description": "Restore a previously removed native section in an email.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"sid",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"sid": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Restore a native email section",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Update a supported literal-copy field in the specified notification and language. Structured variables use set_email_content.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| lang * | string | |
| field * | string | |
| value * | ["string","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Set a supported copy field using the checked content/1 text-and-variable format.
| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| lang * | string | |
| field * | string | |
| content * | object | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Set one supported appearance override for the specified notification email.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| field * | string | one of ["accent","headline_scale","button"] |
| value * | ["string","number","boolean","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Enable or disable use of the theme brand defaults for the specified notification.
| Parameter | Type | Description |
|---|---|---|
| on * | boolean | |
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_email_brand_defaults",
"title": "Use theme brand defaults for an email",
"description": "Enable or disable use of the theme brand defaults for the specified notification.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"on",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"on": {
"type": "boolean"
},
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Use theme brand defaults for an email",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set a supported style property on a native block in the specified email.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| sid * | string | |
| field * | string | one of ["align","font_size","font_size_mobile","font_weight","line_height","padding_top","padding_bottom","width","color","background","section_background","color_role","background_role","section_background_… |
| value * | ["string","number","boolean","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq |
Show or hide a native email block where its locks and validation allow it.
| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| sid * | string | |
| hidden * | boolean | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_native_block_visibility",
"title": "Set native block visibility",
"description": "Show or hide a native email block where its locks and validation allow it.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"sid",
"hidden",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"type": "string"
},
"sid": {
"type": "string"
},
"hidden": {
"type": "boolean"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set native block visibility",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set a checked rule/1 condition controlling a native section in the specified email.
Schema too large to show here (29,530 characters).
{
"name": "set_section_rule",
"title": "Set a native section condition",
"description": "Set a checked rule/1 condition controlling a native section in the specified email.",
"inputSchema": {
"truncated": true,
"chars": 29530
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set a native section condition",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Remove a condition from the specified native email section.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| sid * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "remove_section_rule",
"title": "Remove a native section condition",
"description": "Remove a condition from the specified native email section.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"sid",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"sid": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Remove a native section condition",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set a checked rule/1 condition controlling the specified custom block.
Schema too large to show here (29,540 characters).
{
"name": "set_block_rule",
"title": "Set a custom block condition",
"description": "Set a checked rule/1 condition controlling the specified custom block.",
"inputSchema": {
"truncated": true,
"chars": 29540
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set a custom block condition",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Remove the condition on the specified custom block.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| block_id * | string | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "remove_block_rule",
"title": "Remove a custom block condition",
"description": "Remove the condition on the specified custom block.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"block_id",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"block_id": {
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Remove a custom block condition",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set one supported custom block field using checked content/1 text and variable parts.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| field * | string | |
| content * | object | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| block_id * | string | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Remove the structured binding from one custom block field, returning to its literal content.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| field * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| block_id * | string | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Register a labeled scalar order, product or variant metafield definition for reuse in email content and rules. This does not verify its existence in Shopify or fetch live values.
| Parameter | Type | Description |
|---|---|---|
| field * | object | |
| label * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "add_data_field",
"title": "Register a shared data field",
"description": "Register a labeled scalar order, product or variant metafield definition for reuse in email content and rules. This does not verify its existence in Shopify or fetch live values.",
"inputSchema": {
"type": "object",
"required": [
"field",
"label",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"field": {
"type": "object",
"required": [
"kind",
"resource",
"namespace",
"key",
"value_type"
],
"properties": {
"key": {
"type": "string"
},
"kind": {
"const": "metafield"
},
"resource": {
"enum": [
"order",
"product",
"variant"
]
},
"namespace": {
"type": "string"
},
"value_type": {
"enum": [
"text",
"number",
"boolean",
"date"
]
}
},
"additionalProperties": false
},
"label": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Register a shared data field",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Remove a registered metafield from the workspace field catalog. This does not delete data in Shopify.
| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "remove_data_field",
"title": "Remove a shared data field definition",
"description": "Remove a registered metafield from the workspace field catalog. This does not delete data in Shopify.",
"inputSchema": {
"type": "object",
"required": [
"id",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"id": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Remove a shared data field definition",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Save a checked condition by name for reuse across workspace emails. Saving the same name updates the recipe; applied block rules keep independent copies.
Schema too large to show here (28,343 characters).
{
"name": "save_rule_recipe",
"title": "Save a reusable rule recipe",
"description": "Save a checked condition by name for reuse across workspace emails. Saving the same name updates the recipe; applied block rules keep independent copies.",
"inputSchema": {
"truncated": true,
"chars": 28343
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Save a reusable rule recipe",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Remove a saved condition recipe without changing rules already applied to email blocks.
| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "remove_rule_recipe",
"title": "Remove a reusable rule recipe",
"description": "Remove a saved condition recipe without changing rules already applied to email blocks.",
"inputSchema": {
"type": "object",
"required": [
"id",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"id": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Remove a reusable rule recipe",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set validated JSON preview data for the workspace or for one theme notification. These values are samples, not live Shopify data.
| Parameter | Type | Description |
|---|---|---|
| key | string | |
| value * | object | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_preview_data",
"title": "Set email preview sample data",
"description": "Set validated JSON preview data for the workspace or for one theme notification. These values are samples, not live Shopify data.",
"inputSchema": {
"type": "object",
"required": [
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "object",
"additionalProperties": true
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set email preview sample data",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set a validated shared field used by reusable content blocks across this workspace.
| Parameter | Type | Description |
|---|---|---|
| field * | string | one of ["heading","post1_image","post1_alt","post1_caption","post1_url","post2_image","post2_alt","post2_caption","post2_url","post3_image","post3_alt","post3_caption","post3_url","instagram","tiktok","faceb… |
| value * | ["string","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| section * | string | one of ["post_feed","social","benefits","support","gallery","video","featured_product","product_grid","collection","discount","review","announcement","navigation","faq","steps","order_status","pickup","brand… |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Save the complete ordered list of native and custom block IDs in an email. A changed block list is refused.
| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| order * | array | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "reorder_blocks",
"title": "Reorder email blocks",
"description": "Save the complete ordered list of native and custom block IDs in an email. A changed block list is refused.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"order",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"type": "string"
},
"order": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Reorder email blocks",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Add one supported block at a valid insertion anchor. Includes text, images, buttons, reusable content blocks and validated custom HTML/Liquid.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| type * | string | one of ["text","image","button","divider","spacer","post_feed","social","benefits","support","gallery","video","featured_product","product_grid","collection","discount","review","announcement","navigation","… |
| after * | string | |
| props | object | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| before_id | string | |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
Update one validated property of a custom block, including content, layout or visibility.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| field * | string | |
| value * | ["string","number","boolean","null"] | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| block_id * | string | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| local_copy | boolean | For a reusable content block, atomically make a local copy before changing this field. Shared workspace values remain separate. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
Replace a custom-code block with validated email HTML, supported inline CSS and eligible Shopify Liquid. Scripts and unsupported code are rejected.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| html * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| block_id * | string | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Move a custom block to a supported native anchor or before another custom block.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| after * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| block_id * | string | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| before_id | string | |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Create an independent copy of one custom block inside its email.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| block_id * | string | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "duplicate_block",
"title": "Duplicate an email block",
"description": "Create an independent copy of one custom block inside its email.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"block_id",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"block_id": {
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Duplicate an email block",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Remove the specified custom block in one undoable change.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| block_id * | string | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "remove_block",
"title": "Remove a custom email block",
"description": "Remove the specified custom block in one undoable change.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"block_id",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"block_id": {
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Remove a custom email block",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Take pasted Shopify notification HTML or Liquid and extract literal text, approved images, and store links as editable blocks. Dry-run returns the selected blocks and skipped-content counts. Existing blocks and native Shopify logic stay in place. This action does not fetch or install a Shopify template.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| after * | string | |
| source * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
Load the selected theme and its authored emails for the Studio interface.
| Parameter | Type | Description |
|---|---|---|
| theme_id | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "studio_snapshot",
"title": "Load the Studio workspace",
"description": "Load the selected theme and its authored emails for the Studio interface.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Load the Studio workspace",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Save one checked group of changes made through the Studio interface.
| Parameter | Type | Description |
|---|---|---|
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| commands * | array | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "studio_save",
"title": "Save Studio edits",
"description": "Save one checked group of changes made through the Studio interface.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"request_id",
"expected_seq",
"dry_run",
"commands"
],
"properties": {
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"commands": {
"type": "array",
"items": {
"type": "object"
},
"maxItems": 30,
"minItems": 1
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Save Studio edits",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Choose an accessible owned theme as this connection’s current context. Subsequent edit calls still name its immutable theme ID explicitly.
| Parameter | Type | Description |
|---|---|---|
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
{
"name": "select_theme",
"title": "Choose the current working theme",
"description": "Choose an accessible owned theme as this connection’s current context. Subsequent edit calls still name its immutable theme ID explicitly.",
"inputSchema": {
"type": "object",
"required": [
"theme_id"
],
"properties": {
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Choose the current working theme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Add a text block containing a label and a checked field binding at the chosen insertion anchor, atomically in one undoable change.
| Parameter | Type | Description |
|---|---|---|
| key * | string | one of ["order_confirmation","shipping_confirmation","shipment_delivered","refund_notification","customer_account_activate","order_cancelled","customer_account_welcome","customer_account_reset","customer_mar… |
| after * | string | |
| field * | any | |
| label * | string | |
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| fallback * | string | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| before_id | ["string","null"] | |
| request_id * | string |
Undo this connection’s recent change group in the specified theme. Dependent groups and changes made by other connections are refused.
| Parameter | Type | Description |
|---|---|---|
| dry_run * | boolean | True validates without saving. False validates and saves one undoable change. |
| group_id * | string | |
| theme_id * | string | An owned theme ID returned by list_themes, copy_theme or create_custom_theme. |
| request_id * | string | Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
| with_dependents | boolean |
{
"name": "undo_edit",
"title": "Undo an authorized theme change",
"description": "Undo this connection’s recent change group in the specified theme. Dependent groups and changes made by other connections are refused.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"group_id",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"group_id": {
"type": "string",
"maxLength": 150
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
},
"with_dependents": {
"type": "boolean"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Undo an authorized theme change",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Upload a JPEG or PNG image to Shopemail’s immutable public image hosting for use in email blocks. Maximum 3 MB and 1600 pixels per side. Requires workspace editor access.
| Parameter | Type | Description |
|---|---|---|
| data * | string | Standard base64-encoded bitmap bytes, without a data-URL prefix. |
| name * | string | |
| content_type * | enum | one of ["image/jpeg","image/png"] |
{
"name": "upload_image",
"title": "Upload a public email image",
"description": "Upload a JPEG or PNG image to Shopemail’s immutable public image hosting for use in email blocks. Maximum 3 MB and 1600 pixels per side. Requires workspace editor access.",
"inputSchema": {
"type": "object",
"required": [
"name",
"content_type",
"data"
],
"properties": {
"data": {
"type": "string",
"maxLength": 4194304,
"description": "Standard base64-encoded bitmap bytes, without a data-URL prefix."
},
"name": {
"type": "string",
"maxLength": 120
},
"content_type": {
"enum": [
"image/jpeg",
"image/png"
]
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Upload a public email image",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Use get_context to identify the approved workspace, working theme and permissions. Each edit names an immutable theme ID. Open open_editor for interactive editing. Dry-run before applying checked changes. Copying themes/shared settings requires an explicitly approved workspace grant. Downloads require export access. Review essential information before installing in Shopify. No sending or installation tools are available.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| inherit_store_logo | boolean |
{
"name": "copy_theme",
"title": "Copy a theme",
"description": "Create an owned copy of a public theme example or an existing theme in the authorized workspace, with the supplied name.",
"inputSchema": {
"type": "object",
"required": [
"source_kind",
"source_id",
"name",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"name": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"if_exists": {
"enum": [
"return",
"error"
],
"type": "string"
},
"source_id": {
"type": "string",
"description": "library stem (20: 01-porcelain, 02-paper, 03-studio, …) or an owned theme id"
},
"carry_from": {
"type": "string"
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"source_kind": {
"enum": [
"library",
"theme"
],
"type": "string"
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
},
"include_starters": {
"type": "boolean"
},
"inherit_store_logo": {
"type": "boolean"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Copy a theme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "set_email_item_layout",
"title": "Set email product data and layout",
"description": "Configure a notification’s checked order-item cards, static products, scalar product title and additional detail bindings with missing-value fallbacks, columns and mobile stacking. Omit binding to restore the original theme layout. Does not change Shopify or confirm installation.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"binding": {
"type": "object",
"properties": {
"list": {
"enum": [
"subtotal_line_items",
"line_items",
"refund_line_items",
"fulfillment.fulfillment_line_items"
]
},
"image": {
"type": "boolean"
},
"price": {
"type": "boolean"
},
"title": {
"type": "boolean"
},
"format": {
"const": "items/1"
},
"source": {
"enum": [
"shopify",
"manual"
]
},
"columns": {
"enum": [
1,
2,
3
]
},
"missing": {
"enum": [
"hide",
"placeholder"
]
},
"quantity": {
"type": "boolean"
},
"title_field": {
"anyOf": [
{
"type": "null"
},
{
"oneOf": [
{
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"const": "standard"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"resource",
"namespace",
"key",
"value_type"
],
"properties": {
"key": {
"type": "string",
"maxLength": 64
},
"kind": {
"const": "metafield"
},
"resource": {
"enum": [
"order",
"product",
"variant"
]
},
"namespace": {
"type": "string",
"maxLength": 64
},
"value_type": {
"enum": [
"text",
"number",
"boolean",
"date"
]
}
},
"additionalProperties": false
}
]
}
]
},
"detail_field": {
"anyOf": [
{
"type": "null"
},
{
"oneOf": [
{
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"const": "standard"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"resource",
"namespace",
"key",
"value_type"
],
"properties": {
"key": {
"type": "string",
"maxLength": 64
},
"kind": {
"const": "metafield"
},
"resource": {
"enum": [
"order",
"product",
"variant"
]
},
"namespace": {
"type": "string",
"maxLength": 64
},
"value_type": {
"enum": [
"text",
"number",
"boolean",
"date"
]
}
},
"additionalProperties": false
}
]
}
]
},
"manual_items": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"price",
"image",
"quantity"
],
"properties": {
"image": {
"type": "string",
"maxLength": 500
},
"price": {
"type": "string",
"maxLength": 60
},
"title": {
"type": "string",
"maxLength": 120
},
"quantity": {
"type": "integer",
"maximum": 999,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 12
},
"stack_mobile": {
"type": "boolean"
},
"image_position": {
"enum": [
"before",
"after",
"above",
"below"
]
},
"detail_fallback": {
"type": "string",
"maxLength": 200
}
},
"additionalProperties": false
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set email product data and layout",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "set_checklist_item",
"title": "Set an email checklist requirement",
"description": "Mark a block as required for one email, or remove an additional requirement. Built-in essential requirements are retained. Use list_blocks to see missing, hidden and conditional checklist items.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"block_id",
"required",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"block_id": {
"type": "string"
},
"required": {
"type": "boolean"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set an email checklist requirement",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "set_section_visibility",
"title": "Set section visibility",
"description": "Set the supported visibility state of a native email section.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"sid",
"state",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"sid": {
"type": "string"
},
"state": {
"enum": [
"shown",
"hidden"
],
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set section visibility",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "set_section_lock",
"title": "Set an email section lock",
"description": "Lock or unlock a native section before a supported removal or visibility change.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"sid",
"locked",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"sid": {
"type": "string"
},
"locked": {
"type": "boolean"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set an email section lock",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "set_email_copy",
"title": "Set literal email copy",
"description": "Update a supported literal-copy field in the specified notification and language. Structured variables use set_email_content.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"lang",
"field",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"lang": {
"type": "string"
},
"field": {
"type": "string"
},
"value": {
"type": [
"string",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set literal email copy",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "set_email_content",
"title": "Set email copy with data fields",
"description": "Set a supported copy field using the checked content/1 text-and-variable format.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"lang",
"field",
"content",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"type": "string"
},
"lang": {
"type": "string"
},
"field": {
"type": "string"
},
"content": {
"type": "object",
"required": [
"format",
"parts"
],
"properties": {
"parts": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"text"
],
"properties": {
"kind": {
"const": "text"
},
"text": {
"type": "string",
"maxLength": 2000
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"field",
"fallback"
],
"properties": {
"kind": {
"const": "variable"
},
"field": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"const": "standard"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"resource",
"namespace",
"key",
"value_type"
],
"properties": {
"key": {
"type": "string",
"maxLength": 64
},
"kind": {
"const": "metafield"
},
"resource": {
"enum": [
"order",
"product",
"variant"
]
},
"namespace": {
"type": "string",
"maxLength": 64
},
"value_type": {
"enum": [
"text",
"number",
"boolean",
"date"
]
}
},
"additionalProperties": false
}
]
},
"fallback": {
"type": "string",
"maxLength": 200
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
},
"format": {
"const": "content/1"
}
},
"additionalProperties": false
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set email copy with data fields",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "set_email_style",
"title": "Set an email appearance override",
"description": "Set one supported appearance override for the specified notification email.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"field",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"field": {
"enum": [
"accent",
"headline_scale",
"button"
],
"type": "string"
},
"value": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set an email appearance override",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| integer |
| Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "set_block_style",
"title": "Set native block styling",
"description": "Set a supported style property on a native block in the specified email.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"sid",
"field",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"sid": {
"type": "string"
},
"field": {
"enum": [
"align",
"font_size",
"font_size_mobile",
"font_weight",
"line_height",
"padding_top",
"padding_bottom",
"width",
"color",
"background",
"section_background",
"color_role",
"background_role",
"section_background_role"
],
"type": "string"
},
"value": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set native block styling",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "set_block_content",
"title": "Bind data fields in block content",
"description": "Set one supported custom block field using checked content/1 text and variable parts.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"block_id",
"field",
"content",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"field": {
"type": "string"
},
"content": {
"type": "object",
"required": [
"format",
"parts"
],
"properties": {
"parts": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"text"
],
"properties": {
"kind": {
"const": "text"
},
"text": {
"type": "string",
"maxLength": 2000
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"field",
"fallback"
],
"properties": {
"kind": {
"const": "variable"
},
"field": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"const": "standard"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"resource",
"namespace",
"key",
"value_type"
],
"properties": {
"key": {
"type": "string",
"maxLength": 64
},
"kind": {
"const": "metafield"
},
"resource": {
"enum": [
"order",
"product",
"variant"
]
},
"namespace": {
"type": "string",
"maxLength": 64
},
"value_type": {
"enum": [
"text",
"number",
"boolean",
"date"
]
}
},
"additionalProperties": false
}
]
},
"fallback": {
"type": "string",
"maxLength": 200
}
},
"additionalProperties": false
}
]
},
"maxItems": 40,
"minItems": 1
},
"format": {
"const": "content/1"
}
},
"additionalProperties": false
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"block_id": {
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Bind data fields in block content",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "remove_block_content",
"title": "Remove a block data binding",
"description": "Remove the structured binding from one custom block field, returning to its literal content.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"block_id",
"field",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"field": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"block_id": {
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Remove a block data binding",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "set_shared_block_content",
"title": "Set shared reusable block content",
"description": "Set a validated shared field used by reusable content blocks across this workspace.",
"inputSchema": {
"type": "object",
"required": [
"section",
"field",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"field": {
"enum": [
"heading",
"post1_image",
"post1_alt",
"post1_caption",
"post1_url",
"post2_image",
"post2_alt",
"post2_caption",
"post2_url",
"post3_image",
"post3_alt",
"post3_caption",
"post3_url",
"instagram",
"tiktok",
"facebook",
"youtube",
"pinterest",
"linkedin",
"x",
"whatsapp",
"title1",
"text1",
"title2",
"text2",
"title3",
"text3",
"text",
"label",
"url",
"image1_image",
"image1_alt",
"image2_image",
"image2_alt",
"image3_image",
"image3_alt",
"caption",
"image",
"alt",
"duration",
"title",
"price",
"description",
"product1_image",
"product1_alt",
"product1_title",
"product1_price",
"product1_description",
"product1_url",
"product2_image",
"product2_alt",
"product2_title",
"product2_price",
"product2_description",
"product2_url",
"product3_image",
"product3_alt",
"product3_title",
"product3_price",
"product3_description",
"product3_url",
"product4_image",
"product4_alt",
"product4_title",
"product4_price",
"product4_description",
"product4_url",
"code",
"expires",
"terms",
"quote",
"attribution",
"rating",
"label1",
"url1",
"label2",
"url2",
"label3",
"url3",
"label4",
"url4",
"question1",
"answer1",
"question2",
"answer2",
"question3",
"answer3",
"question4",
"answer4",
"title4",
"text4",
"location",
"address",
"hours",
"tagline",
"contact",
"html"
],
"type": "string"
},
"value": {
"type": [
"string",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"section": {
"enum": [
"post_feed",
"social",
"benefits",
"support",
"gallery",
"video",
"featured_product",
"product_grid",
"collection",
"discount",
"review",
"announcement",
"navigation",
"faq",
"steps",
"order_status",
"pickup",
"brand_footer",
"custom_code"
],
"type": "string"
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set shared reusable block content",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "add_block",
"title": "Add an email block",
"description": "Add one supported block at a valid insertion anchor. Includes text, images, buttons, reusable content blocks and validated custom HTML/Liquid.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"type",
"after",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"type": {
"enum": [
"text",
"image",
"button",
"divider",
"spacer",
"post_feed",
"social",
"benefits",
"support",
"gallery",
"video",
"featured_product",
"product_grid",
"collection",
"discount",
"review",
"announcement",
"navigation",
"faq",
"steps",
"order_status",
"pickup",
"brand_footer",
"custom_code"
],
"type": "string"
},
"after": {
"type": "string"
},
"props": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"before_id": {
"type": "string"
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Add an email block",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "update_block",
"title": "Update an email block field",
"description": "Update one validated property of a custom block, including content, layout or visibility.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"block_id",
"field",
"value",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"field": {
"type": "string"
},
"value": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"block_id": {
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"local_copy": {
"type": "boolean",
"description": "For a reusable content block, atomically make a local copy before changing this field. Shared workspace values remain separate."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Update an email block field",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "set_custom_code",
"title": "Set custom email HTML and Liquid",
"description": "Replace a custom-code block with validated email HTML, supported inline CSS and eligible Shopify Liquid. Scripts and unsupported code are rejected.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"block_id",
"html",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"html": {
"type": "string",
"maxLength": 16000
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"block_id": {
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Set custom email HTML and Liquid",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "move_block",
"title": "Move an email block",
"description": "Move a custom block to a supported native anchor or before another custom block.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"block_id",
"after",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"after": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"block_id": {
"type": "string"
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"before_id": {
"type": "string"
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Move an email block",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "import_email_content",
"title": "Import editable content from Shopify email code",
"description": "Take pasted Shopify notification HTML or Liquid and extract literal text, approved images, and store links as editable blocks. Dry-run returns the selected blocks and skipped-content counts. Existing blocks and native Shopify logic stay in place. This action does not fetch or install a Shopify template.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"after",
"source",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"after": {
"type": "string",
"maxLength": 100
},
"source": {
"type": "string",
"maxLength": 500000
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Import editable content from Shopify email code",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}| Unique ID for this change. Reuse it only when retrying the identical operation. |
| expected_seq * | integer | Latest workspace sequence returned by a read. A stale sequence is refused. |
{
"name": "add_detail_field",
"title": "Add a data field beside email details",
"description": "Add a text block containing a label and a checked field binding at the chosen insertion anchor, atomically in one undoable change.",
"inputSchema": {
"type": "object",
"required": [
"theme_id",
"key",
"after",
"label",
"field",
"fallback",
"request_id",
"expected_seq",
"dry_run"
],
"properties": {
"key": {
"enum": [
"order_confirmation",
"shipping_confirmation",
"shipment_delivered",
"refund_notification",
"customer_account_activate",
"order_cancelled",
"customer_account_welcome",
"customer_account_reset",
"customer_marketing_confirmation",
"customer_email_address_changed_confirmation",
"customer_add_payment_method",
"company_location_update_payment_method",
"company_contact_welcome_email",
"contact_buyer",
"failed_payment_processing",
"order_link",
"order_payment_receipt",
"payment_reminder",
"return_label_notification",
"gift_card_notification",
"gift_card_confirmation",
"store_credit_issued",
"draft_order_invoice",
"order_invoice",
"order_edited",
"pending_payment_success",
"pending_payment_failure",
"buy_online",
"pos_send_cart",
"store_receipt",
"ready_for_pickup",
"pickup_receipt",
"shipping_update",
"shipment_out_for_delivery",
"local_out_for_delivery",
"local_delivered",
"local_missed_delivery",
"return_created",
"return_approved",
"return_declined",
"return_receipt",
"pos_exchange_v2_receipt",
"change_requested",
"requested_edit_declined"
],
"type": "string"
},
"after": {
"type": "string",
"maxLength": 100
},
"field": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"id"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"const": "standard"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"resource",
"namespace",
"key",
"value_type"
],
"properties": {
"key": {
"type": "string",
"maxLength": 64
},
"kind": {
"const": "metafield"
},
"resource": {
"enum": [
"order",
"product",
"variant"
]
},
"namespace": {
"type": "string",
"maxLength": 64
},
"value_type": {
"enum": [
"text",
"number",
"boolean",
"date"
]
}
},
"additionalProperties": false
}
]
},
"label": {
"type": "string",
"maxLength": 100
},
"dry_run": {
"type": "boolean",
"description": "True validates without saving. False validates and saves one undoable change."
},
"fallback": {
"type": "string",
"maxLength": 200
},
"theme_id": {
"type": "string",
"pattern": "^th_[A-Za-z0-9_-]{8,64}$",
"description": "An owned theme ID returned by list_themes, copy_theme or create_custom_theme."
},
"before_id": {
"type": [
"string",
"null"
]
},
"request_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,100}$",
"description": "Unique ID for this change. Reuse it only when retrying the identical operation."
},
"expected_seq": {
"type": "integer",
"minimum": 0,
"description": "Latest workspace sequence returned by a read. A stale sequence is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"title": "Add a data field beside email details",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}