set_pwa_branding
Configure a specific agent's PWA branding and install experience (applies to that
agent's /s/ standalone chat pages — what gets installed to the home screen is one agent's
entry page, so each agent is its own app).
- `agent`: the agent name whose install branding to configure (required).
- `icon_source_url`: public URL of one master image (PNG/JPG/WebP ≥192×192, ideally a square
logo). The server derives the full set: browser-tab favicon(48) + install icons 192/512 +
Android maskable(512). Non-square images are centre-cropped. Once set, "Add to Home Screen"
installs this agent's own icon.
- `install_prompt`: prompt style — `banner` (a dismissible slim bar inside the chat page,
default), `card` (a card shown on first visit; more visible, more intrusive), `off` (no
prompt). Android/Chrome uses the system install dialog; iOS automatically switches to a
"Share → Add to Home Screen" illustrated guide.
Icon/prompt params optional, settable independently. Returns the final config (icon URLs +
install_prompt). Full walkthrough in the Cookbook's configure-branding.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| install_prompt | No | ||
| icon_source_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |