Set or clear the website favicon
websiteFavicons_setSets the website’s current favicon to a ready PNG, SVG, or ICO image from the same website asset library. Send assetId: null to clear it. The change applies immediately to every site host and is independent of source drafts and publishing. Read the current favicon from the faviconUrl field on GET /websites and GET /websites/find.
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": {
"websiteId": "<websiteId>",
"assetId": "<assetId>"
},
"name": "websiteFavicons_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | ||
| websiteId | Yes |