update_branding
Set the brand’s accent colour, light or dark, and fonts.
Endpoint
https://business.sessions.website/@<handle>/api/mcpWhen 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
cssfor finer control, using the--sessions-*properties the Branding page edits.
Parameters
accentColorstringoptionalColour for buttons and links: hex ("#0f766e") or oklch(…).
colorSchemestringoptionalThe page in light or dark (optional).
One of: light, dark
fontstringoptionalBody font, as a catalogue slug: "inter", "dm-sans", "plus-jakarta-sans", "manrope", "figtree", "outfit", …
headingFontstringoptionalHeading font, as a catalogue slug (optional).
cssstringoptionalInstead 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.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_branding",
"arguments": {
"accentColor": "#0f766e",
"font": "dm-sans"
}
}
}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.
css with --sessions-* custom properties, the same theme the Branding page edits. The owner uploads the logo on the Branding page.