store_update_customization

Patch any slice of a store's customization.

Deep-merges `partial` into the store's draft_customization, validates the merged result with Zod server-side, and persists. Use for cross-slice updates — for single-slice updates the dedicated tools (update_palette, update_typography) are clearer. publish=true ships to live in the same write.

Request

arguments
{
  "slug": "string",
  "partial": "Partial<StoreCustomization>",
  "publish": "boolean?"
}

Response

content[0].text (JSON-parsed)
{
  "ok": true,
  "draft_customization": { /* StoreCustomization */ },
  "published": "boolean"
}

Example

tool call
{
  "name": "store_update_customization",
  "arguments": {
    "slug": "bravo",
    "partial": {
      "palette": { "primary": "#000" },
      "copy": { "hero_headline": "Train like you mean it." }
    },
    "publish": true
  }
}

Related tools