MCPOutils MCP/Clients/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.
Paramètres
customizedbooleanobligatoire
logoUrlfacultatif
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.
faviconUrlfacultatif
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.
colorHexstringnullfacultatif
logoTonefacultatif
clientIdstringobligatoire
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_client_portal_brand",
"arguments": {
"customized": true,
"clientId": "string"
}
}
}Exemple de réponse
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.