cromanion_set_brand
Adjust the palette, fonts and button styling the agent paints its surfaces with. The crawl guesses these from a stylesheet; you probably know the real tokens. Cosmetic only — it changes how the agent looks, never what it may say. Needs the brand permission.
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": "cromanion_set_brand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | No | Hex per role, e.g. {"primary":"#1a1a2e"}. Roles come from cromanion_site_status. | |
| siteId | No | Which site this call is about. Only needed when your credential covers more than one — cromanion_grants lists them and says whether it is required. Omitting it with several is refused rather than guessed at. | |
| ctaFill | No | Primary button background, hex. | |
| ctaText | No | Primary button text colour, hex. | |
| bodyFont | No | CSS font-family stack for body text, e.g. "Inter, sans-serif". | |
| ctaRadius | No | Primary button corner radius, e.g. 8px. | |
| headingFont | No | CSS font-family stack for headings, e.g. "Inter, sans-serif". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| button | No | ||
| palette | Yes | The stored colours, by role. | |
| version | No | Bumped on every save, so the edge picks the new tokens up. | |
| typography | No |