BrandKarma

update_brand_locale

Update the brand's default language/country and target languages — the locale fields the content pipeline inherits when no per-call override is given. 'targetLanguages' supports merge/replace plus a separate 'removeLanguages' list; 'defaultLanguageCode' and 'defaultCountryCode' are direct assignments (omit to leave unchanged). ISO codes are 2 letters: language lowercase ('de'), country uppercase ('DE'). Side effects: adding a language to targetLanguages causes autopilot translation of newly generated content into that language on the next generation run. Removing a language does NOT delete existing translated ContentItems. Rule: if targetLanguages ends up non-empty, defaultLanguageCode must appear in it.

Remote Account required revuo:brandkarma-4084

Remote (network-hosted) · Requires an account with the vendor · OAuth

Other tools also called update_brand_locale? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "brandId": {
      "description": "Brand ID (ObjectId)",
      "type": "string"
    },
    "defaultLanguageCode": {
      "description": "Default content language as 2-letter lowercase ISO code (e.g. 'de'). Omit to leave unchanged.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "defaultCountryCode": {
      "description": "Default content country as 2-letter uppercase ISO code (e.g. 'DE'). Omit to leave unchanged.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "targetLanguages": {
      "description": "Target languages — list of 2-letter lowercase ISO codes. Omit to only run removals (or leave unchanged when no removals).",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "mode": {
      "description": "'merge' (default) or 'replace' — applies to targetLanguages.",
      "type": "string",
      "default": "merge"
    },
    "removeLanguages": {
      "description": "Optional list of language codes to remove from targetLanguages (case-insensitive). Applied after the merge/replace step.",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    }
  },
  "required": [
    "brandId"
  ]
}