Warpweb

v0.1.2
io.github.northbeamsoftware/warpweb Checked 1 hour ago Published 6 months ago

Research, build, and deploy AI-generated websites via the Warpweb API.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_businesses Find the right Google Places match for a business name

Search Google Places for a business by name and return up to 5 candidates. STRONGLY RECOMMENDED to call this BEFORE `create_site` whenever you have only a business name — common names like "Acme Plumbing" or "Pizza Place" will silently resolve to the wrong business otherwise. Each result includes `placeId` (pass to `create_site` for exact match), `name`, `address`, `phone`, `rating`, `userRatingCount`, and `businessType`. Present the top 2-3 results to the user with city + rating count for confirmation, OR pick the one with the highest `userRatingCount` if you have high confidence from the…

ParameterTypeDescription
query *stringBusiness name to search for. Free-form text Google Places will search (e.g. "Acme Plumbing", "Mike's BBQ").
locationstringOptional location hint to narrow the search (e.g. "Austin, TX", "78704", "near downtown Dallas"). Strongly recommended for common names — omitting it lets Google rank by global popularity, which usu…

create_site Create a Warpweb site

Kick off an end-to-end website build for a real business. Warpweb researches the business (Google Places: hours, address, phone, photos, reviews, service area, category), writes copy in a voice matched to the vertical, picks photos, generates a vertical-aware design, builds a multi-page site (home / about / services / contact + vertical-specific sections), adds SEO (meta tags, sitemap, Schema.org JSON-LD), and deploys to a free `*.warpweb.app` subdomain. ASYNC: this call returns a `siteId` and `status: "generating"` IMMEDIATELY. Real builds take 3–8 minutes. After calling this, EITHER poll…

ParameterTypeDescription
businessName *stringThe business as customers know it (e.g. "Acme Plumbing"). 1–200 chars.
contactEmail *stringEmail address. Receives form submissions if no webhook is configured, plus a deploy notice.
businessDescriptionstringFree-text description of what the business does. Helps when Google Places coverage is thin.
businessLocationstringCity + state/region (e.g. 'Austin, TX'). Strongly recommended — drives local SEO, areas-served copy, and example testimonials.
designStylestringOverride the auto-selected design style. Available styles surface in the dashboard.
facebookUrlstringPublic Facebook page URL — used as a research signal.
logoUrlstringURL to a business logo. Used for branding and color extraction.
ownerPromptstringVoice/tone direction or anything to emphasize (e.g. "Emphasize 24/7 emergency service").
uploadedPhotosarrayArray of photo URLs to include on the site.

get_site Get a Warpweb site

Fetch the current record for one site by id. Use this to poll the status of a build after `create_site` (or a `create_revision`). Returns the full site row including `status`, `generation_phase`, `generation_message`, and (when complete) `deployment_url`. Polling pattern: call every 2–5 seconds; stop when `status` is `complete` or `failed`. `status` values: `generating` | `complete` | `failed` | `research_review`. Returns 404 if the site does not exist OR is not owned by your account.

ParameterTypeDescription
siteId *stringSite UUID returned by `create_site`.

list_sites List your Warpweb sites

List every site owned by the calling account. Returns an array of site rows (id, slug, business_name, status, deployment_url, created_at, updated_at, etc.). Free, not metered.

refresh_site Refresh a free-subdomain Warpweb site

Free `*.warpweb.app` subdomain sites auto-pause after 7 days of inactivity. This call bumps `last_refreshed_at = now()` and, if currently paused, restores the live bundle on Cloudflare Pages. It's idempotent and free — safe to retry. Custom-domain sites stay live regardless and do not need this call (they pay $10/site/month for always-on hosting).

ParameterTypeDescription
siteId *stringSite UUID to refresh.

create_revision Edit a Warpweb site with a natural-language prompt

Conversational edit of a deployed site. Send a plain-English prompt and Warpweb re-deploys. Works for small surgical edits ("make the hero photo darker", "change the headline to ...", "swap the phone number") and for structural changes ("add an FAQ section about emergency repairs", "move the service area below testimonials", "restructure the homepage around 3 service categories"). The right size of edit is chosen automatically based on scope — you just describe what you want. ASYNC: returns a `revisionId` and `queue_position` immediately. Real revisions take 30s–4min. Poll `get_site` unti…

ParameterTypeDescription
prompt *stringNatural-language description of the change. Be specific about what to change and what to leave alone.
siteId *stringSite UUID to edit.

check_domain Check domain availability + price

Check whether a domain is available to register through Warpweb and what it costs. Returns availability + `price_cents` for the requested domain plus a few related suggestions (name variations, regional variants). This is step 1 of a two-call flow: use this to discover a price, then pass the EXACT `price_cents` value into `register_domain` — the price must match or the registration call will fail. Free; no credits consumed; no side effects.

ParameterTypeDescription
domain *stringThe domain to check, including TLD (e.g. "acme-plumbing.com").
citystringCity name to bias regional suggestions (e.g. "austin").
industrystringIndustry to bias related suggestions (e.g. "plumbing").

register_domain Register a new domain and attach it to a site

Purchase a domain via Cloudflare Registrar at-cost and attach it to a deployed Warpweb site in one shot. DNS + Pages custom-domain wiring happen automatically. PRECONDITION: call `check_domain` first to get a price. The `price` you pass here must EXACTLY match the `price_cents` returned by check_domain — this guards against price-drift surprises. Price cap: $50/yr ($5000 cents). The `pagesProjectName` field is the site `slug` returned by `create_site` (e.g. "acme-plumbing-a1b2c3"). Cost: 50 credits + the registrar pass-through fee (in cents). Custom-domain sites also become Active Sites ($…

ParameterTypeDescription
domain *stringDomain to register (must be the same domain you checked).
pagesProjectName *stringThe site slug returned by `create_site` (e.g. "acme-plumbing-a1b2c3").
price *integerPrice in CENTS, must match `price_cents` returned by `check_domain`. Cap: 5000 cents ($50/yr).
siteId *stringSite UUID to attach the domain to.

attach_domain Attach an external domain the user already owns

Attach a domain the customer already registered elsewhere (e.g. GoDaddy, Namecheap) to a deployed Warpweb site. Returns the CNAME target the customer must set at their existing registrar, plus copy-paste DNS instructions for apex + www. Domain status is `dns_pending` until propagation completes (usually minutes, occasionally up to 48 hours). Use this when the customer says 'I already own the domain' — versus `register_domain` for new purchases through Cloudflare Registrar. Cost: 5 credits. Custom-domain sites become Active Sites ($10/site/month) for always-on hosting + SSL + monitoring.

ParameterTypeDescription
domain *stringThe domain to attach (e.g. "acme-plumbing.com"). Must be owned by the customer.
siteId *stringSite UUID to attach the domain to.

configure_form_webhook Configure where a site sends form submissions

Configure the URL Warpweb POSTs to whenever a form is submitted on this site. Each delivery is signed with HMAC-SHA256 (header `X-Warpweb-Signature` over the raw request body) using a site-scoped secret. IMPORTANT: the signing secret is returned in `secret_issued` ONLY on the first configure or when `rotate_secret: true` is passed — store it immediately, it is not retrievable later. Re-configuring with the same URL is idempotent (no new secret issued). Before this is configured, form submissions deliver as plain email to the site's contact email instead. Most API customers want the webhook…

ParameterTypeDescription
siteId *stringSite UUID to configure the form webhook for.
webhook_url *stringYour HTTP(S) endpoint that will receive form-submission POSTs.
rotate_secretbooleanWhen true, regenerates the signing secret (invalidates the prior one). Default false.