# `update_brand_kit`

_Brand & strategy_

`write` `idempotent`

Update the brand's visual identity kit: colors (primary, accent, background, foreground, palette), fonts (fontFamily, headingFont), logoUrl, voiceDescription. Only the keys in patch change; source becomes manual and sourceUrl is preserved. Fails when the brand has no kit yet unless the patch carries every required field.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `brandId` | `string` | no |  |
| `patch` | `object` | yes |  |

## Example

### Prompt

```text
Update my brand kit's primary color to a deep teal.
```

### JSON-RPC

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_brand_kit",
    "arguments": {
      "patch": {
        "primary": "example primary",
        "accent": "example accent"
      }
    }
  }
}
```

### curl

```bash
curl -X POST https://app.usedalea.ai/api/mcp/mcp \
  -H "Authorization: Bearer dalea_mcp_..." \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_brand_kit","arguments":{"patch":{"primary":"example primary","accent":"example accent"}}}}'
```
