MCPMCP-Tools/Kunden/update_client_portal_brand

update_client_portal_brand

Writeclients:write

Customize a client's portal logo, color, favicon and logo tone. This replaces the whole bundle, matching the UI. Set customized=false to clear all overrides and inherit agency defaults. Requires an identified agency user with access to this client.

Parameter
customizedbooleanerforderlich
logoUrloptional
A data: URL or a public https link to a PNG, JPG, SVG, GIF or WebP. Links are downloaded and stored; large images are shrunk to fit. null or "" clears it.
faviconUrloptional
A data: URL or a public https link to a PNG, JPG, SVG, GIF or WebP. Links are downloaded and stored; large images are shrunk to fit. null or "" clears it.
colorHexstringnulloptional
logoToneoptional
clientIdstringerforderlich
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Beispielanfrage
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_client_portal_brand",
    "arguments": {
      "customized": true,
      "clientId": "string"
    }
  }
}
Beispielantwort
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.