apply_draft_edits
ChatGPTApply validated changes to the customer's saved draft, including possible content deletion. First read the site and relevant page, then use their latest revision. For a new section or item field listed in get_section_guide.editableFields, use set_catalog_field with its exact fieldId and value. Use save_custom_palette or delete_custom_palette to manage saved colours, and set_hero_image_crop for any available hero slot. For a business name, prefer set_business_name; for a font, prefer set_font_preset; for hero darkening, prefer set_hero_darken; for section deletion, prefer delete_draft_section. Example: {type:'update_global',surface:'business',patch:{name:'New name'}}. This does not publish.
create_first_draft
ChatGPTBuild a new customer's first draft from one structured plan: business details, colour/font/button design, header, hero, pages, existing builder sections and layouts, copy, form fields and button destinations. Read the builder guide first for exact section/layout/preset choices. Plan page IDs are local names such as home and contact; this tool resolves their saved page keys. Validates the whole plan, saves once, and returns the saved page/section summary and issues. Works only on an empty first-draft canvas; it never replaces an existing website and never publishes.
delete_draft_section
ChatGPTRemove exactly one section instance from one page of the customer's saved draft. First read get_site_draft and use its latest revision, pageKey and exact instanceId; repeated sections have distinct IDs. If the customer's wording matches several sections, ask which one before calling. This also clears buttons and links that target a section whose last instance was removed. This cannot publish a site.
delete_project_image
ChatGPTPermanently delete one approved photo from this project's Images library and clear all draft placements using it. Only call for an explicit customer request to delete that photo. Read the latest draft and image list first. Photos referenced by the published website are blocked. It does not publish a site.
get_builder_guide
ChatGPTRead an overview of the available sections, layouts, design controls and editing rules before planning a website. Use get_section_guide for full fields and item controls.
get_button_style_options
ChatGPTUse when the customer asks what button appearances, sizes, shapes or colours are available, or asks for a style the builder may not support. Explain the actual options and the nearest available choice before making any substitute edit.
get_design_guide
ChatGPTGet exact colour, font, glow, motion, hero, header, footer, button, image and contact form options.
get_image_import_status
ChatGPTCheck whether an image imported from ChatGPT is still processing, ready, or unavailable. Accepts the asset ID returned by import_chatgpt_image or import_chatgpt_brand_image and reports its purpose. No draft change.
get_page_draft
ChatGPTRead the editable section content, list items, buttons, and image slots on one page. Use a page key from get_site_draft.
get_profile
ChatGPTIdentify the signed-in customer account for this connection.
get_section_guide
ChatGPTGet exact fields, item controls, layout IDs and guidance for one existing builder section. Use a section ID from get_builder_guide.
get_site_draft
ChatGPTGet this customer's page map, section order, selected layouts, business details, and current design settings. Returns the current revision for safe edits.
import_chatgpt_brand_image
ChatGPTImport an image attached in ChatGPT into this website's logo/favicon assets, separate from the project photos library. Choose logo or favicon; favicon imports are centre-cropped square like the builder's custom favicon upload. Accepts JPG, PNG or WebP up to 8MB. This does not assign it or publish. Check get_image_import_status if processing, then use set_brand_image when ready. A logo automatically supplies a favicon unless a custom favicon is set.
import_chatgpt_image
ChatGPTImport one image the customer attached in ChatGPT into this connected AVSBL website's project image library. Use only when the customer asks to add or use that image. Accepts JPG, PNG or WebP up to 10MB. The image is reviewed and processed before it can be placed; this does not edit or publish the website draft. Call get_image_import_status if processing is pending, then inspect_project_images and place_project_image when ready.
inspect_brand_images
ChatGPTReturn visual previews for 1–3 ready logo/favicon assets from list_brand_images, to assess whether they suit a header or square favicon. No draft change.
inspect_project_images
ChatGPTReturn actual small photo previews as image content so you can assess subject, colours, composition and suitable hero or section use. Pass 1–5 asset IDs from list_project_images. No draft change.
list_brand_images
ChatGPTList ready and pending brand images in the connected website project. These are separate from the Images library photos. Use inspect_brand_images before choosing an existing image. No draft change.
list_project_images
ChatGPTList this customer's approved, ready photos in the current project. Use inspect_project_images to actually see their visual content before choosing one. No draft change.
place_project_image
ChatGPTAssign an approved project photo to a hero, hero logo, announcement or existing section image slot. Pass null assetId to clear that slot. Read the latest draft first; section slots need their exact page and instance IDs. Slot indexes start at 0. Saves the draft only and never publishes.
set_brand_image
ChatGPTAssign a ready, approved brand asset as the header logo or custom favicon, or pass null to remove that assignment. Removing a custom favicon uses the logo-generated favicon. Requires latest draft revision. Saves draft only; never publishes.
set_business_name
ChatGPTSet the business name in the customer's saved website draft. Read get_site_draft first and pass its latest revision. This does not publish the website.
set_button_appearance
ChatGPTChange one existing hero or section button to a style ID listed by get_button_style_options. Identify it by its visible label, page, section and optional button index from get_site_draft. Saves the draft only; never publishes.
set_button_destination
ChatGPTChange an existing button by its visible label to an existing page or section, phone number, email address, or HTTPS website. Read get_site_draft first and pass its latest revision. For duplicate labels, supply the source pageKey, sectionId and buttonIndex. Saves the draft only; never publishes.
set_button_label
ChatGPTRename exactly one existing hero or section button by its current visible label. Read get_site_draft first and pass its latest revision. For duplicate labels, supply pageKey, sectionId and buttonIndex from the site map. This preserves the button destination and saves only the draft; never publishes.
set_font_preset
ChatGPTChoose one current site-wide font preset, including for the header. Read get_design_guide.fonts for exact labels and get_site_draft for the latest revision. Saves the draft only; never publishes. Future listed fonts use the same tool.
set_hero_darken
ChatGPTSet the Home hero image darkening as a whole percentage from 0 to 70. Use 60 for 60%, never 0.6. Read get_site_draft first and pass its latest revision. Saves the draft only; never publishes.
show_in_builder
ChatGPTMove the customer's open builder preview to an existing page, header, announcement, hero, exact section instance or footer. Use after an edit to a named page/section, or when asked to open/show/go to any page or section. Read get_site_draft for page keys and exact section instance IDs, including repeated sections. For 'go to footer' without a page, omit pageKey to keep the builder's currently open page. This is display navigation only: it does not edit or publish the website. The builder must be open and online to respond.