Tools provided
Tools the agent exposes — your AI client calls them automatically when it needs them.
- start_build — Use this when the user wants a live preview website for a local service business AND has typed business_name, email, and phone in THIS chat. Never reuse name, email, or phone from memory or an earlier conversation. If they only said "build me a website", ask first. Do not invent placeholders. Tell them they can change details after the preview. Then call get_preview until preview_url is set. Do not scrape /build. Do not start_build twice for the same business.write
- get_preview — Use this after start_build. If status is ready, send preview_url immediately. If keep_polling is true or preview_url is null, call get_preview again with the same token. A progress card may appear and refresh itself. Pass wait=false only for a progress-card refresh. Do not start_build again.write
- create_checkout — Use this when the owner wants the preview site live. Returns a Stripe Checkout URL. Send that URL. Do not collect card numbers. Preview must be ready. Price is in the result.write
- get_live_site — Use this after the owner pays. If they have not paid, returns live=false and the preview URL.write