Skip to content

update_branding

Set the brand’s accent colour, light or dark, and fonts.

Authentication required

Endpoint

endpoint
https://business.sessions.website/@<handle>/api/mcp

When to use it

  • For the "make the page look like the business" setup step, from the colours on the business’s own site or logo.

  • With css for finer control, using the --sessions-* properties the Branding page edits.

Parameters

accentColorstringoptional

Colour for buttons and links: hex ("#0f766e") or oklch(…).

colorSchemestringoptional

The page in light or dark (optional).

One of: light, dark

fontstringoptional

Body font, as a catalogue slug: "inter", "dm-sans", "plus-jakarta-sans", "manrope", "figtree", "outfit", …

headingFontstringoptional

Heading font, as a catalogue slug (optional).

cssstringoptional

Instead of the fields above: --sessions-* declarations, e.g. ":root { --sessions-color-accent: oklch(0.51 0.09 186); }". Colours in these declarations must be oklch(…).

Returns

Confirmation and the page to look at, or the theme fields it refused.

Example

POST this to the endpoint above.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_branding",
    "arguments": {
      "accentColor": "#0f766e",
      "font": "dm-sans"
    }
  }
}
content
Branding saved. See it at https://sessions.website/@hotflow.

What the agent is told

The description the model reads when deciding whether to call this. It is the only thing that decides whether the tool fires at the right moment, so it is worth knowing what it says.

update_branding
Make the business's page, booking sheets and emails look like the business: an accent colour (buttons, links), light or dark, and fonts. For anything finer, pass css with --sessions-* custom properties, the same theme the Branding page edits. The owner uploads the logo on the Branding page.

See also