Change the email logo, look and footer
updateEmailBrandChange what every email from this workspace carries: the logo a header block draws (a PNG, JPG or GIF address; uploadImage keeps one), how wide the email is on a computer (a phone always gets its full screen), the colour behind the email and the colour of the card it sits on, the footer's own line (in place of "Sent by" and the store's name; the unsubscribe link always follows), the postal address in the footer, and up to five social links. What is not given stays as it is; null clears it back to the default. Answers with the settings as they are now.
Only for a workspace with subscribed email contacts.
A change inside Kooga: it runs at once, as the person.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "updateEmailBrand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logoUrl | No | The logo, a PNG, JPG or GIF at a public address; null: none, the store name as text | |
| cardColor | No | Hex: the card the email sits on; null: white | |
| emailWidth | No | Width on a computer, px; 'full': the whole width of the reader's screen, no margin around it; null: 600 | |
| footerText | No | The footer's own line, plain text; null: "Sent by" and the store's name | |
| socialLinks | No | Replaces the social links; [] removes them | |
| workspaceId | No | The workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace. | |
| footerAddress | No | The postal address in the footer | |
| backgroundColor | No | Hex: the colour around the email card; null: light grey |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed | Yes | ||
| logoUrl | Yes | ||
| cardColor | Yes | ||
| emailWidth | Yes | ||
| footerText | Yes | ||
| socialLinks | Yes | ||
| footerAddress | Yes | ||
| backgroundColor | Yes |