import_brand_kit_from_website
Fill the organization’s brand kit from a website — the Brand page’s “Import from website”: Adlyse reads the site’s own logo lockup and icon and saves them as brand logos, and infers the palette from the site’s styles. An existing logo is kept, never replaced; reading another site than the organization’s replaces the website style the kit falls back to. It takes a minute or two; this call waits for it (up to two minutes).
Requires a user-bound credential whose user can manage the organization (else “user_credential_required” / “permission_denied”). A site that is not a public web address gets “validation_error”; a failed import “import_failed”. An import of the same site already running is waited on, not repeated; one of another site gets “conflict”.
Returns: A dictionary containing:
- success, website: the domain read
- brand_kit: the kit as resolved AFTER the import (same shape as get_brand_kit): each logo, colour and font with its source, so a logo or colour the site did not yield still reads as unset
- warnings: what the import could not do (no usable logo, a palette it was unsure of, a site that refused the reader)
- brand_page: the Brand page link, to show the user the result
- source
Still running after the wait: status “running” instead (the kit fills in by itself; read it again with get_brand_kit).
Parameters#
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
website | string | no | The site to read the brand from, e.g. example.com. Omit to use the organization’s own website. |
Generated by generate_mcp_docs from the server tool. Add to this page below this block; the block is rewritten on every run.