Set favicon
set_faviconSet or clear the site favicon (ROOT.props.seo.favicon). Give exactly one source: mediaId, imageUrl, svgContent (SVG markup supplied by the user), dataBase64 (small icons, ~3MB cap), or clear: true. Best: a 512px square PNG or an SVG. Staged like any edit — publish to see it live. Sites only. More: get_style_reference({ topic: "media" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. Pass it on every call. | |
| 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. |