Set Brand Tool
set_brandCreate or replace a brand kit. Send every field you want to keep: omitted colors, fonts, logos and notes are cleared, so call get_brand first when editing. Colors are hex (#0f172a) or oklch(); fonts are Google Fonts family names or https URLs to .woff2 files. To use a logo you just rendered, pass its render_id as logo_render_id instead of a URL; every later render with this brand can then use it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"name": "<name>"
},
"name": "set_brand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name. | |
| slug | Yes | Lowercase id with dashes, for example tailwind-weekly. | |
| fonts | No | ||
| notes | No | Voice, layout or usage notes for future renders. | |
| colors | No | Become Tailwind tokens: bg-brand-primary, text-brand-foreground and so on. | |
| logo_url | No | https URL of the logo for light backgrounds. | |
| logo_dark_url | No | https URL of the logo for dark backgrounds. | |
| logo_render_id | No | render_id of an earlier render to use as the logo, instead of logo_url. Its largest png is used (else webp, else jpeg). | |
| logo_dark_render_id | No | render_id to use as the dark-background logo, instead of logo_dark_url. |