Your brands
canvas_brandA brand kept on your user's account (or their team's): colors under the site's own names (with dark values and roles), fonts, text styles, spacing, logos (library parts) and do / don't notes. Save it once, then any canvas adopts it: no color or face typed again. When you work in a site's code, read its stylesheet variables, theme or token file yourself and send them in one save call (css: the file's text; tokens: a design-token JSON; or colors / fonts / styles), with from: the file's path. Pimvizo reads no repo. action: list (your brands and your team's), get (one, as lines and data, with its versions), save (make one, or merge into the one of that name; team: true for the team's, owner and admins), publish (the draft becomes the next numbered version: Studio Plus and Teams), adopt (set it on a canvas as one kit edit, at version or the latest published; canvas_new brand does this as it starts one). A canvas keeps the version it adopted until you adopt again; canvas_open says when a newer one is published. canvas_schema {topic: "brand"} is the guide.
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": {
"action": "<action>"
},
"name": "canvas_brand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | save: a stylesheet's text with custom properties (dark-mode rules give dark values) | |
| from | No | save: the file the values came from ("styles/tokens.css"), kept with each value | |
| name | No | save: the brand's name (the site's or company's) | |
| team | No | save: the team's brand, not your own | |
| brand | No | get, publish, adopt: the brand's name or id ("Example Co", or "Example Co@2" for version 2) | |
| fonts | No | save: {name: family list | {family | face, role, from} | null}; the nearest face here is used, or an uploaded font's id as face (canvas_upload a .ttf or .otf, Studio Plus), which the brand then carries to every canvas that adopts it. role: display, heading, body, mono (display: big headlines and heroes, as var(--display)) | |
| logos | No | save: {light, dark}: names of parts in your library | |
| notes | No | save: {do: [lines], dont: [lines]} (up to 12 each) | |
| action | Yes | ||
| canvas | No | adopt: a canvas link or id; default the open one. save: the canvas an uploaded font named in fonts is on (default the open one) | |
| colors | No | save: {name: "#hex" | {value, dark, role, from} | null}; roles: ground, surface, ink, muted, accent, accent-ink, line, success, warning, danger, brand | |
| styles | No | save: text styles {name: {font ("var(--font name)" or a face), size, weight, lh, spacing} | null} | |
| tokens | No | save: a design-token file (Design Tokens Community Group JSON) | |
| replace | No | save: start the draft afresh instead of merging | |
| spacing | No | save: {name: px} | |
| version | No | adopt: which version (0: the draft); default the latest published | |
| elevation | No | save: shadows by name, {raised: {dx, dy, blur, color, opacity} or a CSS box-shadow "0 4px 12px rgba(15, 23, 42, 0.08)" | null}; css reads --shadow-<name> too. A shape takes one as shadow "raised" |