Set Logo
set_logoMake an image the site's logo (header, footer AND favicon — the favicon pair is generated automatically, transparency is detected, and the logo's dominant brand colors come back as suggested_colors). image_url must be one of THIS site's own images: something the user uploaded via request_image_upload + finalize_image_upload, or an existing photo from list_site_photos — any other URL is rejected. A solid-background (non-transparent) image works but looks best as a transparent PNG; the response says which was detected. suggested_colors are ONLY suggestions — offer them to the user ("want the site to match your logo?") and apply via update_design if they say yes; never apply unprompted. The response includes a fresh preview_url — share that link.
Annotations: read-only=false, destructive=true, idempotent=true, open-world=false. Why: Overwrites the draft's logo with the given image — 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>",
"image_url": "<image_url>"
},
"name": "set_logo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | ||
| image_url | Yes | URL of an image in THIS site's photo library (from finalize_image_upload or list_site_photos) |