Update theme
update_themeCreate or update a brand theme. Themes store colors, fonts, logos, a markdown notes field (voice, audience, tone, do's and don'ts), a reference image and any brand elements used for consistent media generation.
Two modes:
interactive (interactive: true) opens the visual editor in the chat for the user to set colors, fonts and logos and press save. Use this for "edit my theme" or "help me set up a brand" requests. The user saves in the editor; do not call update_theme again for it. Clients that cannot show the editor get a note saying so.
direct: pass data, images and/or set_default. data shallow-merges by default; pass override: true to replace it entirely. images is always replaced, and the first image becomes the thumbnail. Creates a new theme if the name doesn't exist. The first theme automatically becomes the default.
Examples:
update_theme({ interactive: true })
update_theme({ name: "Acme", interactive: true })
update_theme({ name: "Acme", data: { colors: [{ name: "Brand", hex: "#FF0000" }] } })
update_theme({ name: "Acme", images: ["https://cdn.example.com/hero1.png"] })
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Theme data: colors, fonts, logos, etc. Merged with existing data by default. | |
| name | No | Theme name. Creates the theme if it doesn't exist. Required unless interactive is true. | |
| images | No | Brand reference images for this theme. Replaces the entire images array when provided. The first image is saved as the thumbnail. | |
| override | No | If true, replaces the entire theme data. Default false: top-level keys are replaced and missing keys are preserved. Only applies to data. | |
| interactive | No | When true, open the visual theme editor in the chat instead of saving. The user fills in the form and saves there; name is optional. Use this whenever the user says "edit my theme", "create a theme" or "help me set up a brand". | |
| set_default | No | If true, makes this theme the default. | |
| skills_used | No | Optional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs. |