Update Design
update_designUpdate the visual design — colors, fonts, mood, density. Changes only the tokens you pass and touches nothing else (a contrast pass keeps text readable against a new scheme). To move the whole site onto a different marketplace design — layouts, palette and typography, with the site's content kept — use switch_design instead; this tool never changes layouts. The response includes a "preview_url" for the updated draft — share THAT link with the user, do not construct your own.
Annotations: read-only=false, destructive=true, idempotent=true, open-world=false. Why: Overwrites the draft's colours, fonts and design settings — non-additive, so destructive by the MCP definition; idempotent; closed-world. The live site changes only when the user confirms publish_site; the draft stays editable in the Zarla editor.
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": {
"site_id": "<site_id>"
},
"name": "update_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mood | No | ||
| density | No | ||
| site_id | Yes | ||
| body_font | No | Google Fonts name | |
| accent_color | No | Hex color | |
| heading_font | No | Google Fonts name | |
| primary_color | No | Hex color (e.g. "#1a1a2e") | |
| background_color | No | Hex color |