Save a Brand kit
brand_kits_saveSave a Brand's kit (and, when sent, its banned words). Read brand_kits_get first for the choices: a font or image a renderer cannot load is refused when the kit is saved, never swapped at render time. An empty kit clears it. Free.
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": {
"kit": "<kit>",
"brandId": "<brandId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "brand_kits_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit | Yes | The kit as the Brand page edits it: `logo` {light, dark} (a Library asset id or an https URL), `watermark` {enabled, placement}, `palette` {primary, secondary, accent, text, background} as #rrggbb, `fonts` {heading, body} from the curated list, `captionPreset`, `intro`/`outro` cards, `voice` {identityId, name}, `presenters`, `products`, `toneNotes`, `designSpec`, `designTokens`, `alwaysOn` {logo, colours, fonts, voice, cta} as booleans (false keeps that part for explicit asks only; omitted means on). Validated on save: a font or image a renderer cannot load is refused, never swapped at render time. An empty object clears the kit. | |
| brandId | Yes | The Brand id (`id` from brands_list). | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| bannedWords | No | Words this Brand never says. Omit to leave the Brand's own list as it is; an empty list makes the Brand follow the Foundation's list. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||