Update the brand kit
update_brand_kitReplace the whole workspace brand kit: a field left out is no longer set by the kit. The kit sent is usually what get_brand_kit returned, with only the requested change. To clear a field, leave it out (logo, primaryColor, background, foreground and customFont also take null); to clear the whole kit, send {}: it then sets nothing. The kit itself is never deleted, as over the REST API. Existing forms keep their look until apply_brand_kit; the workspace link page is styled with the kit, so a live link page shows the change at once. Destructive: it deletes or replaces data, so it is best confirmed with the user first, naming exactly what will change. After an error or a timeout, a read shows whether the change went through, so a blind retry is not needed. Owners and admins only.
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>"
},
"name": "update_brand_kit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit | Yes | The whole kit, as get_brand_kit returns it (when it returns null, start from {}). Fields: logo (an image URL, or null; use https, since an http image is blocked on the https form page), clientLogos (up to 24), primaryColor, background (setting it fixes forms to a light or dark look) and foreground (CSS colors or null), fontFamily (figtree, poppins, inter, dm-sans, space-grotesk, manrope, work-sans, fraunces or playfair), customFont, radius (sharp, soft or round), buttonStyle (solid, outline or soft). | |
| workspace_id | No | The workspace this call acts in: an id from list_my_workspaces. Required for a person signed in with several workspaces and for staff of this deployment; optional with an API key or with only one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit | Yes | The brand kit, or null when the workspace has none yet. | |
| workspace | Yes | The workspace this call acted in, to compare with the one the user means. | |
| updated_at | Yes |