Set favicon
set_faviconSet or clear the site favicon. Exactly one source: mediaId, imageUrl, svgContent (user-supplied SVG), dataBase64 (small icons, ~3MB cap), or clear: true. Best: a 512px square PNG or an SVG. Staged — publish to see it live. More: get_style_reference({ topic: "media" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. | |
| clear | No | Remove the favicon; other fields ignored. | |
| mediaId | No | Existing media id (no upload). | |
| filename | No | Filename hint. | |
| imageUrl | No | Public URL to upload. | |
| mimeType | No | For dataBase64 (default image/png). | |
| dataBase64 | No | Base64 or data URL. Small icons only (~3MB cap). | |
| svgContent | No | Raw SVG the user supplied (starts with <svg or <?xml). Never fabricate. |