Manage Gnosari Appearance
gnosari_manage_appearanceConfigure an agent's visual appearance and welcome experience.
Two kinds of setting reach the chat:
CONTENT (per-agent) — greeting, empty-state title/description, and suggested prompts. Set via greeting / empty_state_* / suggested_prompts. greeting is an overlay: when set, the welcome screen (empty state + prompts) is configured but hidden.
VISUAL identity — pick ONE curated
style_preset(color preset + background pattern). The preset is written to the agent's chat theme, REUSING the agent's existing theme row in place so repeated calls never create duplicate themes. See thestyle_presetschema for the full list and which agent purpose each fits.
Only provided fields are changed; at least one is required.
Raises: ValueError: If no appearance fields are provided. ChatThemeConfigurationError: If the resolved theme blob is invalid — the message names the exact offending key to fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| greeting | No | First message shown when a user opens a new chat. When set, the conversation starts immediately with this message — empty_state_title, empty_state_description, and suggested_prompts will NOT be shown. | |
| image_url | No | Agent avatar/logo URL (max 500 chars). Must be publicly accessible | |
| gnosari_id | Yes | ID of the agent to update | |
| style_preset | No | Curated appearance preset. Pick by the agent's purpose/brand: plain: No pattern, clean sky accent. Corporate/formal, or let content lead. clean-dots: Minimal sky-blue, faint dots. SaaS, B2B, dashboards. ocean-waves: Calm blue, flowing waves. Wellness, travel, spa, relaxed brands. forest-topo: Green, contour lines. Outdoors, sustainability, nature, eco. blueprint: Technical blue grid. Engineering, dev tools, architecture. graph-paper: Indigo grid. Education, finance, data, analytical tone. circuit: Teal circuit lines. Tech, hardware, AI, electronics. soft-bubbles: Warm rose, soft bubbles. Friendly, lifestyle, community, care. sunset-glow: Vibrant sunset, organic blobs. Creative, marketing, bold consumer. emerald-grid: Fresh emerald, subtle grid. Health, growth, productivity. confetti: Energetic fuchsia, confetti. Events, kids, playful/fun brands. mono-noise: Editorial violet, subtle grain. Media, publishing, premium/minimal. | |
| empty_state_title | No | Large title text for the welcome screen, displayed prominently | |
| suggested_prompts | No | Clickable prompt buttons for the welcome screen. Replaces all existing. Max 8 | |
| empty_state_description | No | Supporting text below the title on the welcome screen |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Advisory note, e.g. greeting hides the welcome screen | |
| greeting | No | Current greeting message | |
| image_url | No | Current agent avatar/image URL | |
| readiness | Yes | Configuration completeness with missing keys and next steps | |
| gnosari_id | Yes | Agent ID | |
| style_preset | No | Applied style preset id | |
| chat_theme_id | No | Current chat theme ID | |
| empty_state_title | No | Current empty state title | |
| empty_state_description | No | Current empty state description | |
| suggested_prompts_count | Yes | Number of suggested prompts configured |