{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "shopemail.app",
    "site": "shopemail.app",
    "addresses": [
      {
        "address": "172.67.156.172",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "104.21.66.44",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:3031::6815:422c",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:3033::ac43:9cac",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3033::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.66.44",
          "172.67.156.172",
          "2606:4700:3031::6815:422c",
          "2606:4700:3033::ac43:9cac"
        ],
        "first_seen": "2026-11-23T07:09:03.749Z",
        "last_seen": "2026-11-23T07:09:03.749Z",
        "checks": 1
      },
      {
        "addresses": [
          "172.67.156.172",
          "104.21.66.44",
          "2606:4700:3031::6815:422c",
          "2606:4700:3033::ac43:9cac"
        ],
        "first_seen": "2026-11-22T07:08:02.626Z",
        "last_seen": "2026-11-24T07:13:03.510Z",
        "checks": 2
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "Shopemail",
      "version": "0.2.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "strict-transport-security": "max-age=63072000; includeSubDomains"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "app.shopemail",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "4031",
    "server_name": "app.shopemail/shopemail",
    "url": "https://shopemail.app/mcp",
    "host": "shopemail.app",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T07:13:03.510Z",
    "last_state": "listed",
    "last_detail": "resources/list failed: The server requires authentication (HTTP 401). The probe only scans servers whose tool list is public.",
    "consecutive_failures": 0,
    "current_sha": "691cb4c63de0d055d6458aa9bc2c0ff74a07594b1c7a6374ba5c5ca44da9e3ad",
    "first_listed_at": "2026-11-21T06:02:01.088Z",
    "created_at": "2026-11-21T04:55:02.020Z",
    "resolved_addresses": [
      "172.67.156.172",
      "104.21.66.44",
      "2606:4700:3031::6815:422c",
      "2606:4700:3033::ac43:9cac"
    ]
  },
  "server": {
    "name": "app.shopemail/shopemail",
    "title": "Shopemail",
    "description": "Design, preview, and export Shopify notification emails in your authorized Shopemail theme.",
    "version": "0.2.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://shopemail.app/",
    "published_at": "2026-11-05T08:41:44.573Z",
    "updated_at": "2026-11-05T08:41:44.573Z",
    "first_seen": "2026-11-21T04:55:01.033Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "reads-chain"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T14:52:06.435Z"
  },
  "operator": {
    "key": "shopemail.app",
    "name": "shopemail.app",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 4,
    "answered": 4,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1846,
    "first_check_in_window": "2026-11-21T06:02:01.088Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-24",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "691cb4c63de0d055d6458aa9bc2c0ff74a07594b1c7a6374ba5c5ca44da9e3ad",
    "tools": 80,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T06:02:02.991Z",
    "tool_names": [
      "open_editor",
      "get_context",
      "list_theme_examples",
      "get_theme_example",
      "list_themes",
      "get_theme",
      "list_emails",
      "read_email",
      "list_blocks",
      "get_email_options",
      "list_rule_recipes",
      "get_shopify_data_catalog",
      "list_data_fields",
      "get_editor_formats",
      "get_block_formats",
      "list_images",
      "get_preview_data",
      "preview_email",
      "inspect_email",
      "export_email",
      "export_theme",
      "get_change_history",
      "create_custom_theme",
      "copy_theme",
      "rename_theme",
      "archive_theme",
      "restore_theme",
      "set_workspace_active_theme",
      "set_brand_details",
      "copy_brand_settings",
      "set_email_item_layout",
      "set_store_brand_logo",
      "use_store_brand_logo",
      "set_brand_logo",
      "set_theme_font",
      "set_checklist_item",
      "set_brand_color",
      "set_brand_typography",
      "set_brand_shape",
      "set_theme_token",
      "set_dark_theme_token",
      "set_theme_layout",
      "set_shared_setting",
      "set_theme_setting",
      "set_section_visibility",
      "set_section_lock",
      "remove_section",
      "restore_section",
      "set_email_copy",
      "set_email_content",
      "set_email_style",
      "set_email_brand_defaults",
      "set_block_style",
      "set_native_block_visibility",
      "set_section_rule",
      "remove_section_rule",
      "set_block_rule",
      "remove_block_rule",
      "set_block_content",
      "remove_block_content",
      "add_data_field",
      "remove_data_field",
      "save_rule_recipe",
      "remove_rule_recipe",
      "set_preview_data",
      "set_shared_block_content",
      "reorder_blocks",
      "add_block",
      "update_block",
      "set_custom_code",
      "move_block",
      "duplicate_block",
      "remove_block",
      "import_email_content",
      "studio_snapshot",
      "studio_save",
      "select_theme",
      "add_detail_field",
      "undo_edit",
      "upload_image"
    ],
    "declared": {
      "tools": [
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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": "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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_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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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_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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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": "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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_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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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": "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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": "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        },
        {
          "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
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "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."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}