Pages & Sites
Space MCP tools in the Pages & Sites scope (pages). Reach these with a wks_live_ key over space-mcp or space-api.
Tools in the pages scope, callable over space-mcp (tools/call) or space-api (REST) with a wks_live_* key that grants pages.
add_page_media
Scope: pages:write
Put a picture, GIF, video, audio (music, a podcast clip, a voice note) or a YouTube / Vimeo / Loom video on a page, in the section you name, and say how it plays. Give asset_id (a library file of this space — list_document_assets, upload_asset / add_asset_from_url first; the page follows the file when it changes) or url (a file's link, or the YouTube/Vimeo/Loom page link). Where: section = a section's id, its number (1 = first) or words from its heading (list_page_contents → sections), position start|end (inside it) or before|after it; no section = at the end of the page, before the footer. How it plays: play "click" (waits for the visitor — default), "auto" (as the page opens) or "in_view" (when the visitor scrolls to it, pausing when they scroll away); loop; sound (a video that plays by itself is silent unless sound: true); controls; start_at, volume, speed; a thumbnail (thumbnail_asset_id or thumbnail_url — a video's poster, an audio's cover, an embed's still; YouTube's is automatic). Browsers hold sound until the visitor has touched the page: a video then starts muted with its controls, audio on their first tap — the answer says so. Returns the media's id for set_page_media / remove_page_media.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | |
asset_id | string | A library file of this space (picture, GIF, video or audio). | |
url | string | Or a link: a file's url, or a YouTube / Vimeo / Loom page link. | |
kind | image | video | audio | embed | Read from the file when left out. | |
section | string,integer | A section's id, its number (1 = first) or words from its heading. | |
position | start | end | before | after | Inside the section at its start/end, or right before/after it. Default end. | |
play | click | auto | in_view | ||
loop | boolean | ||
sound | boolean | Video / embed: with sound. Audio always has sound. | |
controls | boolean | Show the player's controls (default true). | |
start_at | number,string | Where playing starts: seconds (90) or a time ("1:30"). | |
volume | number | Loudness 0–100 (video/audio files; a YouTube/Vimeo/Loom player sets its own). | |
speed | number | Playback speed 0.25–2 (video/audio files). | |
thumbnail_asset_id | string | A picture from the library shown before it plays. | |
thumbnail_url | string | Or a picture's link. | |
caption | string | A line under it (audio: its title beside the player). | |
alt | string | What a picture shows, for people who can't see it. | |
width | full | wide | narrow | Default wide (audio: narrow). |
add_site_origin
Scope: pages:write
Add one of the space owner's sites (from list_site_origins) to THIS space as a new draft: the same pages, design, words and pictures, clean copies of its forms and booking pages. What belonged to the space it came from — pinned products, tables, documents, blogs, events, the chat agent — is left as empty SPOTS, and its addresses, numbers and outside links are flagged: read get_site_todo next and finish the list. Nothing is published.
| Parameter | Type | Required | Description |
|---|---|---|---|
origin_id | string | yes | From list_site_origins. |
kind | site | page | site_copy | From list_site_origins (worked out from the id when left out). | |
name | string | A new name for the added site (else the original's). |
book_on_page
Scope: pages:write
Book someone into an OPEN slot on a booking page, exactly as if they booked it themselves: the booking lands on the calendar, a meeting link is made if the page uses one, the guest becomes a contact and gets the page's confirmation email. Find open slots with preview_booking_page, then pass its start_at (or date + start in the page's timezone). A page that asks questions (a form) needs its required answers in form_data.
| Parameter | Type | Required | Description |
|---|---|---|---|
booking_page_id | string | yes | |
start_at | string | A slot's start_at from preview_booking_page (ISO 8601). | |
date | string | Or: YYYY-MM-DD in the page's timezone (with start). | |
start | string | HH:MM in the page's timezone (with date). | |
guest_name | string | yes | |
guest_email | string | yes | |
guest_notes | string | ||
form_data | object | Answers to the page's form, by field key (get_booking_page lists its questions). |
cancel_booking
Scope: pages:write
Cancel a booked appointment (status → cancelled). Get the booking_id from list_bookings. The guest is emailed that it is cancelled (with a calendar file that removes it) unless notify_guest:false; add a note to say why. The linked calendar event is kept unless delete_calendar_event:true. Returns guest_told.
| Parameter | Type | Required | Description |
|---|---|---|---|
booking_id | string | yes | |
delete_calendar_event | boolean | Also remove the linked calendar event (default false, matching the in-app cancel). | |
notify_guest | boolean | Email the guest (default true), with a calendar file that updates their calendar. false = say nothing. | |
note | string | A line for the guest in that email — why, or what happens next. |
change_bing_webmaster
Scope: pages:write
Change Bing Webmaster Tools for a website on this space. Needs a Bing Webmaster Tools account turned on in this space — if there is none, ask for it with request_connection (connector "bing_webmaster_tools").
- submit_urls: Ask Bing to crawl up to 500 of the site's URLs now. Spends the daily quota and can't be taken back; it does not promise indexing. Fields: site_url*, urls*.
- submit_feed: Submit a sitemap or feed the site owns. Can't be taken back. Fields: site_url*, feed_url*.
| Parameter | Type | Required | Description |
|---|---|---|---|
op | submit_urls | submit_feed | yes | Which operation (see the list above). |
account_id | string | Only when this space has more than one Bing Webmaster Tools account: which one (list_sites shows each account's id). | |
site_url | string | The property exactly as list_sites returns it: a full URL with protocol and trailing slash (https://example.com/), or sc-domain:example.com for a Google domain property. | |
urls | string[] | Bing: 1–500 URLs of the site to crawl now. | |
feed_url | string | Bing: a sitemap or feed URL the site owns. |
change_canvas
Scope: pages:read
Move, resize, recolour, rewrite, reconnect or remove things on a canvas (ids from get_canvas). You may change and remove only what YOU drew or wrote; pieces and what people made you may only move (and resize a piece). Every call is one step of the board's History.
| Parameter | Type | Required | Description |
|---|---|---|---|
canvas_id | string | yes | |
changes | object[] | yes |
change_google_search_console
Scope: pages:write
Change Google Search Console for a website on this space. Needs a Google account signed in for this space — a person presses Connect Google on a website's Search & AI page (Pages → the site → Search & AI); you can't sign in for them. For a website on Wakato, set_up_site_search and get_site_search already do the usual work (proving the site, the sitemap, the daily numbers).
- submit_sitemap: Submit (or resubmit) a sitemap so Google reads it. Fields: site_url*, feedpath*.
- add_site: Add a property to the Google account (it still has to be verified by its owner). Fields: site_url*.
- delete_site: Remove a property from the Google account. Its data stays with Google; the account just stops seeing it. Fields: site_url*.
| Parameter | Type | Required | Description |
|---|---|---|---|
op | submit_sitemap | add_site | delete_site | yes | Which operation (see the list above). |
account_id | string | Only when this space has more than one Google account signed in: which one (list_sites shows each account's id). | |
site_url | string | The property exactly as list_sites returns it: a full URL with protocol and trailing slash (https://example.com/), or sc-domain:example.com for a Google domain property. | |
feedpath | string | Google: the full sitemap URL, exactly as registered. |
check_ai_visibility
Scope: pages:write
How often AI answers (ChatGPT, Google's AI) name this website compared with its competitors — share of mentions — and the questions people ask AI about the site's topics, each saying whether the site is named or cited. Competitors: the ones you pass, else those of the last check_competitors. Topics: the ones you pass, else the site's biggest followed searches. Paid (about a dollar), billed to the space; kept as a dated report so the trend shows.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | The site (list_sites). |
competitors | string[] | Competitor domains, up to 4 (e.g. rivalgym.com). | |
topics | string[] | Up to 3 SHORT topics (1–2 words, e.g. "fitness coaching", "dentist") — long phrases match almost nothing. Default: the main words of the site's followed searches. |
check_competitors
Scope: pages:write
Who competes with this website on Google and what they win: their size (searches they rank for, authority, linking domains), and the searches they are on Google's first two pages for that the site is not — the gaps to go after, biggest first. Competitors: the ones you pass (domains), else found from the site's own searches. country: two letters (default us). Paid (cents to about a dollar), billed to the space; kept as a dated report.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | The site (list_sites). |
competitors | string[] | Competitor domains, up to 5. | |
searches | string[] | For a new site that ranks for nothing yet: the searches it should be found for — its competitors are whoever Google shows for them. Default: the site's followed searches. | |
country | string | Two-letter country, default us. |
check_local_ranking
Scope: pages:write
Where the business shows in Google Maps for searches made from a place ("dentist near me" from Brooklyn), and who is above it with their rating. location: a place ("Brooklyn,New York,United States") or "lat,lng,zoom". The business is matched by the site's domain or its name (business_name to say it exactly). Paid by the search (cents), billed to the space; kept as a dated report.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | The site (list_sites). |
searches | string[] | yes | Up to 10 searches. |
location | string | yes | |
business_name | string | The name on Google Maps, when it differs from the site's. |
check_page_search_now
Scope: pages:write
Check a page once, now, on Google and in ChatGPT, Gemini, Claude and Perplexity (results land in a few minutes; read them with get_page_search). Costs money from the space's wallet, so it always asks a person first.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | The page (list_pages). Pass this or blog_post_id. | |
blog_post_id | string | A blog post instead of a page (list_blog_posts): posts have their own Search & AI. |
check_page_speed
Scope: pages:write
Measure a website's main pages the way Google does (Lighthouse / PageSpeed Insights), on a phone and a computer: speed, ACCESSIBILITY, best practices and SEO scores out of 100, the speed measures (largest paint, layout shift, blocking time), what fails the accessibility checks — low contrast, images or buttons without labels, heading order, missing landmarks — with where on the page, and the biggest speed wins. Default: the home page and up to 4 more from the sitemap; or pass urls (up to 10). A cent a page, billed to the space; kept as a dated report. Fix what it finds on Wakato pages (contrast, alt text, labels, one H1 then H2s in order, a <main>, smaller images), then measure again.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | The site (list_sites). |
urls | string[] | Full addresses of the site's pages, up to 10. | |
devices | string[] | Default both. |
create_blog_author
Scope: pages:write
Create a hand-typed byline the space owns — a guest writer, a client principal, a team name like "The Silverpoint Dental Team". Reuse it across posts via author_id. To credit a real Wakato member or business account instead, ask the owner to add them in the Blog UI: attaching a real person's identity to content is their call, not yours.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Byline as it should read, e.g. "Dr. Evan Lane, DDS". |
bio | string | Short bio shown under the byline on the post. | |
avatar_url | string | Hosted headshot/logo URL. | |
socials | object | Optional links, e.g. {"website":"https://…","linkedin":"https://…"}. |
create_blog_collection
Scope: pages:write
Create a blog (collection) — the REAL blog system, not a static page. NEVER hand-write post cards or one page per post: pass index_page_id and the blog section is written into that page for you, so every post you publish afterwards appears there automatically. To make it part of a website, pass site_id from create_site/list_sites. A blog holds the post layout (template_html tokens: {{title}} {{excerpt}} {{body}} {{date}} {{category}} {{cover_image}} (a full <img> or nothing) {{author}} (the NAME only) plus {{author_avatar}} {{author_bio}} {{author_links}} — each empty when the author has none, so an author block collapses instead of breaking — or {{author_card}} for the whole byline as one unit; a neutral default is used if omitted). Idempotent by base_slug per space. Then add posts with create_blog_post.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Blog name, e.g. "Acme Journal" (default "Blog"). | |
site_id | string | Attach to a site so the blog is part of one website (recommended). | |
base_slug | string | URL segment, default "blog" (derived from the name if omitted). Unique per space, fixed at creation. | |
template_html | string | Custom post layout HTML with the six tokens. Omit for a neutral responsive default. | |
index_page_id | string | The page this blog shows on. The blog section is written into that page automatically — do not add cards yourself. | |
card_template | string | HTML for ONE index card, using {{url}} {{title}} {{excerpt}} {{cover_image}} {{author}} {{date}} {{category}}. Design it however the site needs — the same markup renders every post, forever. {{cover_image}} is a complete <img class="card-cover"> or NOTHING when the post has no cover, so never wrap it in your own <img>; for a background/overlay treatment use {{cover_image_css}} (the whole background-image declaration, or nothing) rather than url('{{cover_image_url}}'), which would emit url('') on a coverless post. Match the site's own card design — cards then render bare so the host page's grid styles them. Omit for a neutral built-in card. |
create_blog_post
Scope: pages:write
Write a blog post into a collection. Provide body_html (HTML rendered into the blog template), plus optional excerpt, cover_image_url, and author. Defaults to a draft; pass status:'published' to publish immediately (live at /post/<id>). A published post appears on the blog's index page on its own — never create a page for a post. Requires create_blog_collection first.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | From create_blog_collection / list_blog_collections. |
title | string | yes | |
body_html | string | Post body as HTML. | |
excerpt | string | 1–2 sentence summary; also the default meta description and card text. | |
cover_image_url | string | Hosted cover image URL. | |
author_id | string | A byline from list_blog_authors. Preferred over author — it carries the photo, bio and links. | |
author | string | Fallback byline text when no author_id is used. | |
slug | string | Preferred URL slug (a short suffix is appended to keep it unique). | |
status | draft | published | Default draft. | |
publish_at | string | Publish on this date instead of now: an ISO date-time WITH its time zone, e.g. 2026-12-01T09:00:00-05:00. The post waits as 'scheduled' and goes live on its own within five minutes of that time. Ask the person for the time and their time zone if they did not say. | |
category | string | Short label shown on index cards, e.g. "Compliance". | |
meta_title | string | SEO <title> override (≤70 chars). Defaults to title. | |
meta_description | string | SEO meta description override (≤160 chars). Defaults to excerpt. | |
og_image_url | string | Social share image override. Defaults to cover_image_url. |
create_booking_page
Scope: pages:write
Create a real Space booking page so visitors can schedule time. Returns { booking_page_id, slug, calendars }. Embed with <div data-wakato-booking="<booking_page_id>"> or link a CTA to /b/<slug>. Active immediately; open hours default to Mon–Fri 9–5 unless you pass availability. Every calendar of the space closes its slots unless you pass checks_calendars. Set meeting_location_type to "wakato_meet" so EVERY booking automatically creates a Wakato Meet video-call link.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | |
description | string | ||
booking_type | one_on_one | group | ||
duration_minutes | number | ||
timezone | string | ||
meeting_location_type | wakato_meet | in_person | phone_call | custom_link | Where meetings happen. "wakato_meet" auto-creates a Wakato Meet video link on every booking. | |
meeting_location_value | string | Address (in_person), phone/instructions (phone_call), or URL (custom_link). Leave empty for wakato_meet. | |
form_id | string | Attach a Space form (from list_forms/create_form) so guests answer extra questions when booking. Must belong to this space. | |
availability | object[] | Weekly open hours, replacing the current ones: [{ day: 1, start: "09:00", end: "17:00" }] — day 0 = Sunday … 6 = Saturday; several ranges on one day are several rows. | |
date_overrides | object[] | Days that differ from the weekly hours (replaces the list): { date: "2026-12-24", available: false } closes a day; { date, available: true, ranges: [{ start, end }] } opens it with its own hours. | |
max_attendees | number | Group pages: how many people can book the same slot. | |
slot_interval_minutes | number,null | How often slots start (e.g. 15 = every quarter hour); null = every duration_minutes. | |
checks_calendars | string[] | Which calendars' busy events close slots on this page — keys from list_calendars ('space' = events made in this space, 'conn:<id>' = a Google/Outlook account, 'phone:<id>' = a member's phone). The others are ignored. [] = only this page's own bookings count. | |
copy_bookings_to | string,null | Also put every booking on this Google/Outlook calendar of the space (a 'conn:<id>' key from list_calendars), so it shows as taken there too. null = stop. | |
branding | object | Partial branding patch, MERGED onto existing branding (null value clears a key). Keys: brand_name (the name guests read: who the booking is with in their emails, and at the top of the page), mode ('light'|'dark'), primary_color, background_color, card_color, text_color, muted_color, border_color, on_primary_color, input_background, subtle_color, disabled_color, font_family, radius, button_text, photo_url (https cover photo shown on the public page's brand panel), logo_url. Setting only photo_url never clobbers existing colors. |
create_page
Scope: pages:write
Create a new AI-designed web page — a REAL page of the space. To show the person a prototype or mock-up before anything is built, use make_canvas instead. EVERY page is part of exactly one artifact — decide FIRST: (a) part of a browseable WEBSITE → create_site kind:"website" and pass site_id; (b) a step of a LANDING flow/funnel → create_site kind:"landing" and pass site_id (steps link FORWARD only, no nav); (c) a single standalone LANDING PAGE → no site_id (pass standalone:true if it's your 2nd+ within the hour). Pass layout_html (a complete HTML document) to build it in one call. Any <form> must use the binding <form data-wakato-form-id="<id>"> and any calendar must use <div data-wakato-booking="<id>"> (or a /b/<slug> link) referencing a real Space form/booking page — create those first with create_form/create_booking_page. Storefront sections: embed <div data-wakato-products></div> (live grid of every product listed on this space, optional data-limit="N"). For CATEGORY sections (Men/Women/Kids…) add data-tags="men" — comma-separated product tags, the grid keeps only products carrying ALL of them, and it stays live as tagged products are added/removed (tag products via create_product/update_product tags). <div data-wakato-product="<product_id>"></div> renders one product's card. Leave every container EMPTY; the platform fills live price/photos/stock/rating with working Buy buttons at render time (restyle every card with set_product_card_template; a Buy button you design yourself works too — any element with data-wakato-checkout="<product_id>", or Wakato.checkout(id) from your own script, opens the checkout over the page; to design the product page AND the checkout form yourself, bound live to the listing, read get_storefront_sdk_reference), and each card links to the product's live DETAIL page at /product/<product_id> (renders automatically — design it with set_product_page_template, never hand-build product pages). Every LIVE product of the store connected to this space is on its storefront automatically — nothing to link.Blog section: <div data-wakato-blog-index data-base="<the blog's base_slug>"></div> — leave it EMPTY; it fills with cards for every published post, forever. data-base MUST equal the collection's base_slug (list_blog_collections) or the section renders empty. Easier: create the page, then set index_page_id on the blog (create_blog_collection / update_blog_collection) and the section is written for you. NEVER hand-write post cards and NEVER create one page per post — both go stale the moment a post is added. Link sibling pages with /pg/<their slug> hrefs. Idempotent by title: a same-title page is filled if empty, otherwise returned untouched. ENFORCED: a 2nd+ standalone page within the hour is rejected unless standalone:true — scattering one website/funnel across loose pages is never allowed.
DESIGN BRIEF — an unstyled or default-looking page is a FAILED build. BEFORE the first page of a conversation, call get_page_guide: it carries the space's brand record and how to work with the person — ask before deciding the look, show a direction, build a DRAFT, check it with preview_page, publish only when they say so — plus what usually converts for each kind of page (get_page_guide {kind}). The person's words, their brand and your instructions come first; never give two businesses the same page. Commit to a small system before writing HTML: one background family, one ink color, ONE accent kept for actions, AA-readable contrast; two Google Fonts via <link> (a display face with character, a plain body face); a type scale and a spacing rhythm, content in a max-width container with ≥16px side gutters. RESPONSIVE IS MANDATORY: include the viewport meta, grids/flex collapse to one column ≤768px, nothing overflows horizontally (images max-width:100%, fixed aspect via object-fit:cover), tap targets ≥44px. IMAGES: reference ONLY real URLs you know exist (space assets, generate_image results) — NEVER invent file paths; with no image available, design with gradients/patterns/typography instead of leaving broken tiles or icon placeholders. Whenever a url came with a library asset id, CARRY THE ID: <img src="<url>" data-wakato-asset="<asset_id>"> (a CSS background puts data-wakato-asset-bg="<asset_id>" on the element). That binds the media to the file, so replacing the file later updates every page using it and the owner can manage it from the page editor's media shelf. Video/audio/YouTube: add_page_media. Popups open by data-wakato-popup-open="<id>". LIVE DATA: to show a space table's rows (pricing, menu, directory, schedule), embed <div data-wakato-table="<table id>" data-columns="key1,key2" data-limit="10"></div> and let it fill itself — NEVER paste rows in as text, which freezes them the moment you write them. Only a table whose owner set web_published renders, and only its web_columns (list_tables tells you both); if the table the user means is not published, say so rather than pasting its rows in. Put a short fallback line inside the container for the case where it resolves to nothing. To show a document's text (terms, a policy, a guide, a changelog), embed <div data-wakato-document="<document id>"></div> — again never pasting the text in, and again only a document whose owner published it to the web renders (list_documents tells you which). Same for products (data-wakato-products) and blog posts (data-wakato-blog-index). Content gated behind scroll-triggered JS must still be visible with JS disabled (headless QA screenshots scroll once, nothing more).
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | yes | |
description | string | ||
layout_html | string | Complete HTML document for the page body. | |
site_id | string | The artifact this page belongs to (from create_site/list_sites). REQUIRED for every website page and every landing-flow step; omit ONLY for a single standalone landing page. | |
standalone | boolean | Set true ONLY for an intentional separate single landing page unrelated to other recent pages. Required for a 2nd+ standalone page within an hour (otherwise rejected to prevent scattering one website/funnel as loose pages). | |
meta_title | string | Search/social <title> override (≤70 chars). Defaults to the page title. | |
meta_description | string | Meta + og:description (≤160 chars). Falls back to description; when neither is set the tag is omitted, leaving any <meta name="description"> in your own layout_html to stand. | |
og_image_url | string | Social share image for this page. |
create_site
Scope: pages:write
Create a web artifact and DECLARE what it is. kind:"website" = a browseable multi-page site (visitors roam freely via shared navigation). kind:"landing" = a landing page flow: forward-only steps toward ONE goal — opt-in → sales → thank-you etc. — with navigation disabled (when someone asks for a 'funnel', this is it; a single conversion page needs NO site — just create_page standalone). REQUIRED before any multi-page build: create the artifact FIRST, then pass its id as site_id on every create_page call (do NOT scatter pages standalone). Idempotent by title. The first page attached becomes the home page / step 1.
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | yes | Brand/offer name, e.g. "Acme Bike Co." or "Spring Sale Funnel". |
kind | website | landing | yes | website = browseable with shared nav · landing = forward-only step flow, nav disabled (a funnel when 2+ steps). |
description | string | ||
nav_layout | top | sidebar | none | Nav style for websites (default top). Ignored for kind:landing — landing flows never get a nav. | |
logo_url | string | Optional brand logo URL. |
create_site_collection
Scope: pages:write
Make a collection for a website: a list with fields you choose (a directory's businesses, a team, a menu, jobs…). Its slug is its address on the website (/pool-builders) and is fixed once made. Then add items (save_collection_items), show it on any page with <div data-wakato-collection="<slug>"></div> (leave it empty: it fills with cards), and optionally give it a page per item (item_page_id) and a page per value of one field, like each city (group_field + group_page_id) — both designs are ordinary pages of the same website. Use it instead of writing items into a page by hand or making one page per item.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | |
name | string | yes | e.g. "Pool builders" |
slug | string | Its address on the website, e.g. pool-builders (default: from the name). | |
item_label | string | One item, e.g. "Pool builder". | |
fields | object[] | yes | List of fields: [{key, label, type, options?, private?}]. Types: text, long_text, number, picture (an Assets file id), link, email, phone, yes_no, choice (options), tags (several of options or free), date. private: true keeps a field (an owner email) off every page. |
title_field | string | The field that names an item (default: the first). | |
group_field | string | The field items are grouped by (a city): makes /<slug>/<group> pages when group_page_id is set. | |
featured_field | string | A yes_no field: featured items come first everywhere and get {{featured}}. | |
default_sort | string | ||
default_desc | boolean | ||
group_min_items | number | A group needs this many shown items to get its page (default 1). | |
card_template | string | HTML of ONE card in the site's own design, with {{<field>}}, {{<field>_list}}, {{url}}, {{title}}, {{featured}}. Omit for a plain card. | |
item_page_id | string | A page of the same website used as the design of every item's page ({{item.<field>}} words). | |
item_schema | string,null | What each item is, for search engines and AI assistants: LocalBusiness, Organization, Product, SoftwareApplication, Place, Event, Person, Service, Course, Restaurant, LodgingBusiness, EventVenue, JobPosting, CreativeWork or Thing. Every item page then carries that structured data, built from the fields. | |
group_page_id | string | A page of the same website used as the design of every group's page ({{group}}, {{count}}). |
delete_blog
Scope: pages:write
Delete a whole blog and every post in it (published, scheduled and drafts). Published posts stop showing on the website and their links stop working. Cannot be undone. Pass confirm_name exactly as the blog's name. Always asks the person first.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | |
confirm_name | string | yes | The blog's name, typed exactly. |
delete_booking_page
Scope: pages:write
PERMANENTLY delete a booking page (its booking history is deleted with it). Refused while upcoming confirmed bookings exist — cancel those first with cancel_booking. Prefer update_booking_page status:"paused" to just stop new bookings.
| Parameter | Type | Required | Description |
|---|---|---|---|
booking_page_id | string | yes |
delete_collection_items
Scope: pages:write
Delete items of a collection by slug (their pages go too), or every sample item at once with samples: true (do this once real items are in, before the website goes live). To keep an item but take it off the site, save it with shown: false instead.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | |
slugs | string[] | ||
samples | boolean | true: delete every sample item of the collection. |
delete_page
Scope: pages:write
PERMANENTLY delete one page (a published page goes offline). To remove a WHOLE website or landing flow use delete_site instead — it removes the artifact and all its pages in one call. If the deleted page belonged to a site, run validate_site afterwards and fix any nav item that pointed at it.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes |
delete_search_goal
Scope: pages:write
Remove a goal. Its searches stay on their pages.
| Parameter | Type | Required | Description |
|---|---|---|---|
goal_id | string | yes |
delete_site
Scope: pages:write
PERMANENTLY delete a web artifact — the WHOLE website or landing flow: by default every page/step is deleted with it (published pages go offline). This is the correct way to remove a website or funnel; deleting its pages one by one leaves the shell behind. Pass keep_pages: true only if the pages should survive as standalone single landing pages (they lose the shared nav/flow).
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | |
keep_pages | boolean | true = detach the site's pages as standalone instead of deleting them (default false). |
delete_site_collection
Scope: pages:write
Delete a collection and all its items (their pages go too). Send confirm_name with its exact name.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | |
confirm_name | string | yes |
dismiss_site_todo
Scope: pages:write
Set one item of an added site's to-finish list aside when it is right as it is (a word item: the email or number is still correct; a booking page that stays off; a code item already handled; the site's chat that needs no agent). Spots are filled or removed with finish_site_spot, not set aside.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | ||
page_id | string | ||
item | string | yes | An item id from get_site_todo: word:…, ref:…, booking:… or widget. |
draw_on_canvas
Scope: pages:read
Draw on a canvas like a person does: boxes, ellipses, diamonds (words inside), text, sticky notes, ARROWS and lines that connect things (pieces, notes, drawings — by id from get_canvas or by a ref given earlier in the same call; they stay attached when things move), pen strokes, pictures, videos, sounds, files and links. Use it for flows, journey maps, mind maps, wireframes, labels and arrows around your pieces, or to lay out several versions side by side. Items without x/y are laid out in a row under what is there. Every call is one step of the board's History, so people can put it back.
| Parameter | Type | Required | Description |
|---|---|---|---|
canvas_id | string | yes | |
items | object[] | yes | What to put on the board, in order. Leave x/y out and they are laid out in a row under what is there (or beside near). |
near | string | Lay the items out beside this piece/note/drawing (id) instead of under everything. |
edit_page_html
Scope: pages:write
Write or change a page in pieces, for a page too long to send whole in one call. append: add a piece before </body> (or a before marker, or at the end while the page is still open) — so build a long page head, sections, script, then </body></html>, each piece under ~12 KB (a longer one is cut off). find + replace: change one exact piece (replace_all for every match; replace "" removes it). Checked like update_page; a live page changes live.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | |
append | string | A piece of HTML to add. | |
before | string | With append: put the piece right before this exact text on the page (default: before </body>, or at the end when the page has none yet). | |
find | string | An exact piece of the page's current HTML to change. | |
replace | string | What to put in its place ("" removes it). | |
replace_all | boolean | With find: change every match, not just one. |
finish_site_spot
Scope: pages:write
Fill one spot of an added site (from get_site_todo): value = a product id of this space's shop (spots of kind product/listing/checkout), a table id, a document id, a blog id or base slug, an event id (list_events) — or, for spot 'widget', the id of an agent of this space with an External Reach. remove: true takes the spot off the page instead (the element and what's inside it). Refuses anything that isn't this space's.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | ||
page_id | string | ||
spot | string | yes | A spot id from get_site_todo, like s3, or 'widget'. |
value | string | ||
remove | boolean |
get_bing_webmaster
Scope: pages:read
Read Bing Webmaster Tools for a website on this space: how it does in Bing search (clicks, impressions, queries, pages), whether pages are indexed, sitemaps, inbound links, crawl issues and keyword research. Needs a Bing Webmaster Tools account turned on in this space — if there is none, ask for it with request_connection (connector "bing_webmaster_tools"). Start with op list_sites and use its site_url exactly.
- list_sites: Every site on the Bing account. Use the site_url exactly as it comes back.
- search_performance: Clicks and impressions on Bing: daily totals, top queries or top pages. Fields: site_url*, report.
- query_performance: One search query: its daily numbers, the pages it lands on, or one page's daily numbers for it. Fields: site_url*, query*, report, page_url.
- page_performance: One page: its summary, the queries that reach it, or its child pages. Fields: site_url*, page_url*, report, page_number.
- research_keywords: Bing keyword research: impressions for a keyword, its history, or related keywords, by country and language. Fields: query*, country*, language*, report, start_date, end_date.
- inspect_url: What Bing knows about one page or folder: crawl, index state, errors. Fields: site_url*, url*.
- crawl_diagnostics: Crawl issues on the site, or crawl stats. Fields: site_url*, report.
- inbound_links: Links pointing at the site (or one page), with counts. Page through with page_number from 0. Fields: site_url*, target_url, page_number.
- list_child_urls: The URLs Bing knows under a folder, filterable by status code, crawl date and flags. Fields: site_url*, url*, page_number, http_code_filter, crawl_date_filter, document_flags_filter, discovered_date_filter.
- list_feeds: The sitemaps and feeds submitted to Bing (or the ones inside one feed). Fields: site_url*, feed_url.
- submission_quotas: How many URLs (and content submissions) the site may still send today. Fields: site_url*, submission_type.
| Parameter | Type | Required | Description |
|---|---|---|---|
op | list_sites | search_performance | query_performance | page_performance | research_keywords | inspect_url | crawl_diagnostics | inbound_links | list_child_urls | list_feeds | submission_quotas | yes | Which operation (see the list above). |
account_id | string | Only when this space has more than one Bing Webmaster Tools account: which one (list_sites shows each account's id). | |
site_url | string | The property exactly as list_sites returns it: a full URL with protocol and trailing slash (https://example.com/), or sc-domain:example.com for a Google domain property. | |
report | string | Bing: which report. search_performance: daily_totals | top_queries | top_pages. query_performance: daily | pages | page_daily. page_performance: summary | queries | children. research_keywords: impressions | history | related. crawl_diagnostics: issues | stats. | |
query | string | Bing: the search query or keyword. | |
page_url | string | Bing: a page URL on the site (required for query_performance report page_daily). | |
page_number | integer | Bing: zero-based page of results. | |
country | string | Bing keyword research: two-letter country code (us, fr…). | |
language | string | Bing keyword research: language tag (en-US, fr-FR…). | |
start_date | string | Google: YYYY-MM-DD. Bing keyword research: ISO 8601 with a UTC offset (2026-09-01T00:00:00Z). | |
end_date | string | Same format as start_date. | |
url | string | Bing: a page or folder URL on the site. | |
target_url | string | Bing inbound links: one page; omit for the whole site. | |
http_code_filter | integer | Bing child URLs: bitmask — 0 any, 1 2xx, 2 3xx, 4 301, 8 302, 16 4xx, 32 5xx, 64 other. | |
crawl_date_filter | integer | Bing child URLs: 0 any, 1 last week, 2 last two weeks, 4 last three weeks. | |
document_flags_filter | integer | Bing child URLs: bitmask — 0 any, 1 blocked by robots.txt, 2 malware. | |
discovered_date_filter | integer | Bing child URLs: 0 any, 1 last week, 2 last month. | |
feed_url | string | Bing: a sitemap or feed URL the site owns. | |
submission_type | url | content | both | Bing quotas: which quota. |
get_blog_guide
Scope: pages:read
READ THIS BEFORE WRITING OR IMPROVING A BLOG POST. Wakato's guide to posts people find on Google and AI assistants use as a source: how to pick a question people really ask, the shape (answer first, headings that answer, a table, questions at the end), checking every fact, the words to avoid, scheduling, and reading the numbers a week later to improve. Also returns each blog's OWN writing guide (readers, voice, what to avoid), written by the business, which wins over Wakato's guide. Free.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | One blog's own guide only. Omit for every blog of the space. |
get_blog_stats
Scope: pages:read
A blog's numbers, the same the blog screen shows: people who read (real browsers), average reading time, how many read to the end, sign-ups, and WHO read it, people and bots by name (Google, Bing, ChatGPT reading it for a person, AI companies indexing it, link previews, SEO tools), plus sources, countries and every post's numbers. Pass post_id for one post: how far people read, time on each heading, what they clicked, and the latest visits. Use it a week after posts go live to see what works.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | The blog (from list_blog_collections). | |
post_id | string | One post instead of the whole blog. | |
days | number | How many days back (default 30, up to 365). |
get_booking_page
Scope: pages:read
Get a Space booking page including its availability and timezone.
| Parameter | Type | Required | Description |
|---|---|---|---|
booking_page_id | string | yes |
get_canvas
Scope: pages:read
Read a canvas of this space: every piece, sticky note and drawing on it with its id and where it sits (at, bounds), the notes people left there, the HTML and versions of the piece you name, and access — who has it (people with their level, emails invited), where it opens (open_url) and its link when it has one (link_url).
| Parameter | Type | Required | Description |
|---|---|---|---|
canvas_id | string | yes | |
piece_id | string | Read this piece's HTML (needed when the canvas holds more than one). | |
version | number | The piece's version. Default: the newest. |
get_google_search_console
Scope: pages:read
Read Google Search Console for a website on this space: how it does in Google search (clicks, impressions, queries, pages), whether pages are indexed, sitemaps. Needs a Google account signed in for this space — a person presses Connect Google on a website's Search & AI page (Pages → the site → Search & AI); you can't sign in for them. For a website on Wakato, set_up_site_search and get_site_search already do the usual work (proving the site, the sitemap, the daily numbers). Start with op list_sites and use its site_url exactly.
- list_sites: Every property (site) the connected Google account can see, with its permission level.
- get_site: One property and the account's permission on it. Fields: site_url*.
- search_analytics: Clicks, impressions, CTR and average position from Google Search, grouped by query, page, country, device, date or search appearance. Fields: site_url*, start_date*, end_date*, dimensions, dimension_filter_groups, row_limit, start_row, search_type, aggregation_type, data_state.
- inspect_url: Whether Google has indexed a page, when it last crawled it, its canonical, mobile usability and rich results. Fields: site_url*, inspection_url*, language_code.
- list_sitemaps: The sitemaps submitted for a property, with errors, warnings and when Google last read them. Fields: site_url*, sitemap_index.
- get_sitemap: One submitted sitemap in detail. Fields: site_url*, feedpath*.
| Parameter | Type | Required | Description |
|---|---|---|---|
op | list_sites | get_site | search_analytics | inspect_url | list_sitemaps | get_sitemap | yes | Which operation (see the list above). |
account_id | string | Only when this space has more than one Google account signed in: which one (list_sites shows each account's id). | |
site_url | string | The property exactly as list_sites returns it: a full URL with protocol and trailing slash (https://example.com/), or sc-domain:example.com for a Google domain property. | |
start_date | string | Google: YYYY-MM-DD. Bing keyword research: ISO 8601 with a UTC offset (2026-09-01T00:00:00Z). | |
end_date | string | Same format as start_date. | |
dimensions | string[] | Google analytics: group by any of query, page, country, device, date, searchAppearance. | |
dimension_filter_groups | object[] | Google analytics filters: [{ filters: [{ dimension, operator (equals | notEquals | contains | notContains | includingRegex | excludingRegex), expression }] }]. | |
row_limit | integer | Google analytics: rows to return (default 1000). | |
start_row | integer | Google analytics: offset for paging. | |
search_type | web | image | video | news | discover | googleNews | Google analytics: which search. | |
aggregation_type | auto | byPage | byProperty | byNewsShowcasePanel | Google analytics: how rows are combined. | |
data_state | final | all | hourly_all | Google analytics: final data only, or include fresh (partial) data. | |
inspection_url | string | Google URL inspection: the full page URL, under site_url. | |
language_code | string | Google URL inspection: BCP-47 language for the answer, e.g. en-US. | |
sitemap_index | string | Google: a sitemap index URL; lists only the sitemaps inside it. | |
feedpath | string | Google: the full sitemap URL, exactly as registered. |
get_page
Scope: pages:read
Get a single page including its layout_html (the full HTML document).
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes |
get_page_analytics
Scope: pages:read
How a page is doing with visitors — the same numbers as the page's Analytics tab: visits, people (and how many came back), time on page, how many left right away, how far they scrolled, forms sent, bookings, who is on it right now, visits by day and busiest hours, the change against the period before, and where they came from (sites, campaigns), where they are (countries, cities, languages) and what they used (devices by name — iPhone, Android phone, Mac…, systems, browsers). Give page_id for one page in full, site_id for a site with a row per page, or nothing for every published page ranked by visits. range: today | 7d | 30d (default) | 90d | all, or from/to dates. Counts only visits a real browser opened.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | One page, in full (list_pages). | |
site_id | string | A site: its totals and a row per page (list_sites). | |
range | today | 7d | 30d | 90d | all | Default 30d. | |
from | string | ISO date — a custom window (with to). | |
to | string | ISO date. |
get_page_guide
Scope: pages:read
READ THIS BEFORE BUILDING A PAGE OR A WEBSITE. Wakato's guide to pages people actually want: who decides (the person, then their brand, then your instructions), how to work with them (ask before deciding the look, show a direction, build a DRAFT, look at it with preview_page, publish only when they say so), design and copy rules, and this space's BRAND RECORD (colours, fonts, logo, contact details) so you start from it. Call again with kind for what usually converts on that kind of page — local service, restaurant, appointment business, shop, product, software, opt-in, sales page, funnel, event, portfolio, link in bio, the sign-in page of a shared app. Free.
| Parameter | Type | Required | Description |
|---|---|---|---|
kind | string | The kind of page you are building, for its playbook: local_service, restaurant, appointments, shop, product, software, lead_magnet, sales_page, funnel, event, portfolio, link_in_bio. Omit for the whole guide (and the brand). |
get_page_search
Scope: pages:read
A page's (or blog post's — pass blog_post_id) Search & AI view: what it should be found for (each search or question with its monthly searches, Google position and whether ChatGPT, Gemini, Claude and Perplexity name the business), the checks (what's missing for search engines and AI), what they read (title, description, structured data in plain words, the text a crawler keeps), the goals it serves, how often it is checked and what that costs. Pass target_id for one search over time and each assistant's latest answer (who it named instead, the sites it quoted).
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | The page (list_pages). Pass this or blog_post_id. | |
blog_post_id | string | A blog post instead of a page (list_blog_posts): posts have their own Search & AI. | |
target_id | string | One search of the page (from targets[].id). | |
weeks | 4 | 12 | How far back the numbers go. Default 12. |
get_page_search_history
Scope: pages:read
Every change to what search engines read about a page (title, description, sharing picture, structured data) — who made it, when, before and after. put_back_search_change puts one back.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | The page (list_pages). Pass this or blog_post_id. | |
blog_post_id | string | A blog post instead of a page (list_blog_posts): posts have their own Search & AI. |
get_page_visitors
Scope: pages:read
What people did on a published page — the same as the page's Analytics views. view=overview: each source (Google, Bing, ChatGPT, Perplexity, Instagram, other sites, typed the address) with its visitors, time on site, how many went on to another page and how many reached the goal (a form sent, a booking made, something bought), plus stands_out sentences. view=journey: how far visits got (arrived → scrolled past the middle → clicked something → another page → the goal), the commonest paths through the site and where people leave. view=clicks (device phone|computer): what was clicked, by how many people, clicks that did nothing (not a link or button) and repeated clicks, how far down people scroll, time on each part of the page. view=visitors: recent visitors, each visit with its source and pages, and the contact they became once they sent a form. source narrows to one source (all | ai | a key from overview.sources). range 7d | 30d (default) | 90d. Nothing anyone typed is ever kept. Use it to find what to fix on a page (a dead click → make it a link; people leaving before the price → move it up).
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | The page (list_pages). |
view | overview | journey | clicks | visitors | Default overview. | |
range | 7d | 30d | 90d | Default 30d. | |
source | string | all (default) | ai | a source key from overview.sources[].key, e.g. chatgpt, google, instagram. | |
device | phone | computer | view=clicks only. Default computer. |
get_site_collection
Scope: pages:read
One collection in full: fields (private ones included), card template, item/group page designs and exactly how to show it on a page, design an item page and a group page.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes |
get_site_languages
Scope: pages:read
A website's languages: its main language, the extra ones, how visitors land (auto = their browser's language, else their country; suggest = a small note; off), the address of each language (/fr/…), and page by page whether each translation is missing, a draft, live or OUT OF DATE (the original changed after it was translated).
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | The site (list_sites). |
get_site_origin
Scope: pages:read
Read one of the space owner's sites whole — every page's html, the site's nav and theme, its forms and booking pages, and what each id in it named — to build something NEW in its design (create_site / create_page / edit_page_html). Its ids belong to the space it came from: build with this space's own products, forms and pictures.
| Parameter | Type | Required | Description |
|---|---|---|---|
origin_id | string | yes | From list_site_origins. |
kind | site | page | site_copy |
get_site_search
Scope: pages:read
How a website does in Google (and Bing) search, from its own Search Console numbers: the connection (and what the person still has to do), clicks, impressions, click rate and average position against the period before, week by week, EVERY search people used (impressions, clicks, click rate, position, the page it lands on, new ones, whether AI assistants are asked it too), each page's numbers, and whether each page is on Google — the facts to decide what to go after next. days 7 | 28 (default) | 90; engine google (default) | bing | both. Google's numbers are about 2 days late.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | The site (list_sites). |
days | 7 | 28 | 90 | ||
engine | google | bing | both |
get_site_search_files
Scope: pages:read
A site's — or a STANDALONE page's (page_id) — files for search engines and AI, exactly as served on its domain: llms.txt (the short guide for AI assistants — its own words, or the one made from its pages), robots.txt (whether AI assistants may read it), the sitemap's pages, and the history of changes. With no domain yet they are saved and served the moment one is connected (no_domain_note says so).
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | The site (list_sites). | |
page_id | string | A standalone page (not in a site) — instead of site_id. A page in a site uses its site's files. |
get_site_seo_reports
Scope: pages:read
Everything Wakato has found about a website for search and AI, kept with the site (any agent reads the same): speed and accessibility (Google's Lighthouse scores per page, phone and computer, and what fails), the latest audit (score, pages crawled, and every OPEN finding — what is wrong, on which page, how bad, what fixes it — plus what was fixed recently), AI visibility (share of mentions against competitors in ChatGPT and Google's AI answers, and the questions people ask AI with whether the site is named), competitors (who, their size and links, and the searches they win that the site doesn't) and local (Google Maps positions). Each with the run before, for the trend. Read it before deciding what to do; act on it with the page tools.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | The site (list_sites). |
kind | audit | speed | ai_visibility | competitors | local | Only one kind. | |
history | number | How many runs of each kind (default 2, up to 12). |
get_site_todo
Scope: pages:read
What is left to finish on a site added from a template: each item names its page, what it WAS in the space it came from, what it needs, and the tool that fills it. Spots (s1, s2…) take a product, table, document, blog or event of THIS space through finish_site_spot; 'widget' takes an agent for the site's chat; word items (an old email, phone, address, social or payment link) are rewritten with edit_page_html; booking items are switched on with update_booking_page. Ask the person when an item is their call.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | ||
page_id | string | For a landing page with no site. |
list_blog_authors
Scope: pages:read
List the bylines this space can use. Each is a 'member' (a Wakato person), a 'business', or 'manual' (hand-typed). Pass an id as author_id on create_blog_post so the post carries a real byline — photo, bio and links included — instead of only a name string. Member and business bylines are owned by that account and cannot be edited here.
| Parameter | Type | Required | Description |
|---|---|---|---|
include_removed | boolean | Also list bylines that were removed. Removed ones cannot be used on new posts. |
list_blog_collections
Scope: pages:read
List the space's blogs (collections). Each blog groups posts and may be attached to a site (site_id). Call before create_blog_collection to reuse an existing blog.
list_blog_posts
Scope: pages:read
List blog posts in the space. Optional collection_id, status (draft|scheduled|published), limit. A scheduled post carries publish_at, when it goes live.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | ||
status | draft | scheduled | published | ||
limit | number |
list_booking_pages
Scope: pages:read
List Space booking pages (id, name, slug, status). Reuse an existing one before creating a new one.
list_bookings
Scope: pages:read
List actual booked appointments (guest name/email, start/end, status, attendee_status = whether the guest accepted/declined the calendar invite) across the space or one booking page. Use upcoming_only:true for the forward schedule, search to find a specific guest, status:"cancelled" for cancellations. Answers in the guest's attached form (if any) are in form_data.
| Parameter | Type | Required | Description |
|---|---|---|---|
booking_page_id | string | Restrict to one booking page (omit for all pages in the space). | |
status | confirmed | cancelled | ||
upcoming_only | boolean | Only bookings that start from now, soonest first. | |
from | string | ISO datetime lower bound on start_at. | |
to | string | ISO datetime upper bound on start_at. | |
search | string | Match on guest name or email. | |
limit | number | Max rows (default 50, max 200). |
list_canvases
Scope: pages:read
The canvases made in this space, newest first, each with the tag that draws it in a chat.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Words in the title. | |
limit | number |
list_collection_items
Scope: pages:read
The items of a collection with their values (private fields included), shown ones only unless include_hidden. Each says whether it is a sample (a made-up item a template came with).
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | |
search | string | Words in the title. | |
include_hidden | boolean | ||
samples | boolean | true: only sample items; false: only real ones. | |
limit | number | ||
offset | number |
list_page_contents
Scope: pages:read
What is ON a page, without the html: every picture/video by FILE (url, asset_id when bound, how many places), every video/audio/embed with how it plays (playable: id, play, loop, sound, controls, thumbnail), the page's sections (for add_page_media), the storefront grids (tags, limit) and pinned product cards, the bound tables/documents and whether the blog index is on it. Read this before swap_page_media / set_page_products — they change what's on the page, never its layout.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes |
list_pages
Scope: pages:read
List pages in the space.
list_search_goals
Scope: pages:read
What the business wants to be recommended for ("recommended for small weddings in Austin"): each goal with its pages, the checklist of what was done and what is left for the person, and how it is doing (assistants naming the business at the latest check, best Google position).
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | The site (list_sites). |
list_site_collections
Scope: pages:read
List the websites' collections: lists that belong to a website (businesses of a directory, a team, a menu, job openings, properties, case studies…), with their fields, how many items, and the snippet that shows one on a page. Not the space's Tables: a collection is the website's own content, like its blog.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | Only this website's collections. |
list_site_origins
Scope: pages:read
The websites, landing flows and landing pages this space's owner has, live in any of their spaces or saved in their Backstage (kind 'site' | 'page' | 'site_copy'). Any of them can be added to this space as a new draft site with the same design and words (add_site_origin), or read whole as the starting point for something new (get_site_origin).
list_sites
Scope: pages:read
List the space's web artifacts (sites). Each is EITHER kind:"website" (browseable multi-page site, shared brand + platform-injected navigation) OR kind:"landing" (a landing page flow — forward-only ordered steps toward one goal, no nav; 2+ steps = a funnel). Returns id, title, slug, kind, status, root_page_id. Call this before create_site to avoid duplicates.
list_website_domains
Scope: pages:read
The domains on in this space that a website can be shown at, whether each is ready (verified), and what each shows at its address today (a website, a page, an app, a forward, or nothing). Use it before put_site_on_domain.
make_canvas
Scope: pages:read
Make something to SHOW the person, beside your chat — the answer to "show me a prototype / a mock-up / how it would look before you build it": a clickable prototype of an app or page before anything is built (NOT a page or an app of the space), a design, a motion piece, a drawing, a storyboard, a chart of numbers, a comparison — anything a browser can draw. A canvas is a BOARD people move around and zoom, and each make_canvas puts ONE piece on it: one HTML document you write to SHOW the person something — a clickable prototype of an app or page before it is built, a motion piece, a drawing or diagram (SVG or <canvas>), a storyboard, a chart of numbers, a comparison, 3D (three.js). Everything you make for the same subject in this chat lands on the same canvas, side by side (pass new_canvas: true for an unrelated subject; canvas_id to add to a canvas you name). A version of something already there (another size, another direction) is a new piece with from_piece_id: the board draws an arrow from it. Give each piece the size it is designed for (width × height in CSS px: 1920×1080 for a 16:9 film, 1080×1920 for a vertical one, 1080×1350 for a 4:5 post; default 1280×800) and make it fill exactly that frame. A piece that plays over time (an animation, a film, a kinetic title) MUST set duration_seconds: the board then gives it Wakato's own player (play, pause, a timeline) and makes the MP4 video, the GIF and the pictures itself when the person asks — so NEVER add play, pause, restart or download buttons inside it. Drive it from time only (CSS animations, the Web Animations API, requestAnimationFrame or performance.now(); anime.js and Motion are fine, never GSAP) and let it loop or rest on its last frame at the end. It runs in a locked frame: no Wakato key, no network to Wakato. Load libraries from cdnjs.cloudflare.com, cdn.jsdelivr.net or unpkg.com. Data it shows is what YOU write into it — say so with data: 'sample' (made up) or 'real' (from this space; the canvas then stays with the chat's people until they share it). People make canvases of their own and draw on them (pen, boxes, arrows that connect things, words, pictures, videos, sounds, files, links) and leave sticky notes — get_canvas returns the notes and the drawings with their words, links and what each arrow connects; to add your piece to a canvas a person made, pass its canvas_id to make_canvas. YOU can use the board like a person too: draw_on_canvas puts boxes, ellipses, diamonds, words, sticky notes, lines and ARROWS THAT CONNECT things (pieces, notes, shapes — they stay attached when things move), pen strokes, pictures, videos, sounds, files and links on it — a flow, a journey map, a mind map, labels and arrows around your pieces; change_canvas moves, resizes, recolours, rewrites, connects or removes them (you may only move what people made). get_canvas tells you where everything is. They can pick a part, screenshot or draw on it — that arrives in their next message: change a piece with update_canvas (canvas_id, piece_id, the whole new HTML; each change is its next version). Building the real thing (an app, a page) is a separate step they ask for in the chat.
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | yes | What the person will call this piece, e.g. "Funnel in Motion". A new canvas takes it as its name too. |
kind | string | One or two words for what it is: App idea, Page design, Motion, Drawing, Storyboard, Chart, Comparison, Plan… | |
html | string | yes | The whole piece: one HTML document (inline CSS/JS; libraries from a CDN), filling width × height. Up to 1.5 MB. |
width | number | The width it is designed for, in CSS px (default 1280). | |
height | number | The height it is designed for, in CSS px (default 800). | |
duration_seconds | number | Set for anything that plays over time (an animation, a film): its length in seconds, up to 300. The board gives it Wakato's player and video download — add no buttons of your own. | |
from_piece_id | string | The piece this one is a version of (another size, another direction): the board puts it beside that one with an arrow. | |
x | number | Where its top-left goes on the board (board px; get_canvas says where everything is). Default: beside what is there. | |
y | number | ||
canvas_id | string | Put it on this canvas. Default: the canvas already made in this chat, else a new one. | |
new_canvas | boolean | Start a new canvas for an unrelated subject instead of adding to this chat's. | |
canvas_title | string | The name of the canvas when a new one is started, if it should differ from the piece's title. | |
data | none | sample | real | Whether it shows numbers or records: none, sample (made up) or real (from this space). | |
note | string | One line on what this version is. | |
show | boolean | Put it up beside the chat now (default true). |
place_page_media
Scope: pages:write
Move a picture, video, audio or embedded video to another section or spot on the page (section = id, number or heading words from list_page_contents → sections; position start|end|before|after) and/or change its size (width: full | wide | narrow). Name it by id, url or asset_id.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | |
media | string | yes | |
section | string,integer | ||
position | start | end | before | after | ||
width | full | wide | narrow |
present_page
Scope: pages:read
Show a Space Page in Preview beside your chat, live. Same as show_on_screen({ kind: "page", id }) — use that one for anything else of the space. UI-only signal — succeeds even if the panel is closed, and stores nothing.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes |
preview_booking_page
Scope: pages:read
TEST a booking page the way a guest would: returns its full config, the attached form's questions (if any), and REAL bookable time slots computed with the same engine as the public /b/<slug> widget — plus a ready verdict and issues list. Each slot's label is complete — weekday, date, and time already rendered in the requested timezone (e.g. "Tuesday, July 14 at 10:30 AM"; quote verbatim — never pair a time with your own weekday/date or do timezone math) — plus an absolute start_at/end_at (UTC ISO). Use this right after create/update_booking_page to confirm it actually works. Pass a specific date (YYYY-MM-DD) to probe one day, or omit it to scan the next days (default 14) for the first open day.
| Parameter | Type | Required | Description |
|---|---|---|---|
booking_page_id | string | yes | |
date | string | Optional day to test, YYYY-MM-DD. Omit to scan forward for the next open day. | |
days | number | Days to scan when no date is given (default 14, max 60). | |
timezone | string | IANA timezone to render slot labels in (e.g. America/Los_Angeles). Defaults to the page's own timezone. |
preview_page
Scope: pages:write
SEE a page before anyone does: renders it as visitors get it, takes desktop 1440px + mobile 390px screenshots (links for you to look at — never added to Space Assets), and runs a vision QA critique (billed to the space wallet) of real visual problems — overlap, clipping, contrast, broken images, unstyled or empty sections, mobile overflow, no clear headline or button up top. THE QUALITY LOOP: build it → preview_page → fix every severity=error → preview again until looks_good → show the person its link → publish_page (on the website) only when they say so. Pair with validate_site.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | |
viewports | string[] | Widths to capture (default both). | |
critique | boolean | Run the vision critique (default true). Set false for screenshots only. |
publish_blog_post
Scope: pages:run
Publish a blog post now (live at /post/<id>), schedule it for later with publish_at, or pass publish:false to move it back to draft (this also cancels a schedule). Requires pages:run.
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | yes | |
publish | boolean | false to unpublish or cancel a schedule, back to draft (default true). | |
publish_at | string | Publish on this date instead of now: an ISO date-time WITH its time zone, e.g. 2026-12-01T09:00:00-05:00. The post waits as 'scheduled' and goes live on its own within five minutes of that time. Ask the person for the time and their time zone if they did not say. |
publish_page
Scope: pages:run
Put a page ON THE WEBSITE (Google, sitemap, llms.txt). Every page has its own link at /pg/<published_slug> from birth — no drafts. publish:false takes it off; the link keeps working. Requires pages:run. link_issues severity=error = DEAD links visitors will hit — fix them. Only when the person says so; preview_page before and after.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | |
published_slug | string | Optional custom slug; defaults to the page's slug. | |
publish | boolean | false to unpublish (default true). |
put_back_search_change
Scope: pages:write
Put one change back (from get_page_search_history or get_site_search_files): the field gets the value it had before. Pass the page_id for a page's change, the site_id for a site's.
| Parameter | Type | Required | Description |
|---|---|---|---|
change_id | string | yes | |
page_id | string | The page (list_pages). Pass this or blog_post_id. | |
blog_post_id | string | A blog post instead of a page (list_blog_posts): posts have their own Search & AI. | |
site_id | string | The site (list_sites). |
put_site_on_domain
Scope: pages:run
Show a website (its home page; its other pages follow at their paths) or one page at a domain of this space — https://<domain>/. The domain must be on in this space and verified (list_website_domains) and the home page published (publish_page). It makes the site public at that address and replaces what the domain shows today, so a person approves it in the chat every time. The sitemap, robots.txt and llms.txt follow by themselves and Bing hears about it; then set_up_site_search puts it on Google.
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | yes | The domain, e.g. acmebikes.com (or its id from list_website_domains). |
site_id | string | The website (list_sites). Its home page is shown at the domain. | |
page_id | string | Instead of a website: one standalone page. |
remove_page_media
Scope: pages:write
Take a picture, video, audio or embedded video off a page — by its id (list_page_contents → playable), its url or its library file id. Media added with add_page_media goes whole (with its caption); a picture the page carries by url is removed wherever it appears. The file stays in the library.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | |
media | string | yes | Its id, url or asset_id. |
reorder_site_pages
Scope: pages:write
Set the display order of a site's pages (the order they appear in the site's page list and default navigation). Pass the site's page ids in the desired order; omitted pages sort after the listed ones.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | |
page_ids | string[] | yes | Page ids in the desired order (first = home position). |
reschedule_booking
Scope: pages:write
Move a confirmed booking to a new slot. Pass new_date (YYYY-MM-DD) + new_start (HH:MM) in the booking page's OWN timezone — find open slots with preview_booking_page first. The new slot is validated against real availability (the booking never conflicts with itself) and the linked calendar event moves with it. The guest is emailed the new time (with a calendar file that moves it) unless notify_guest:false. Returns guest_told.
| Parameter | Type | Required | Description |
|---|---|---|---|
booking_id | string | yes | |
new_date | string | yes | YYYY-MM-DD in the page's timezone. |
new_start | string | yes | HH:MM in the page's timezone. |
new_end | string | HH:MM — derived from the page's duration when omitted. | |
skip_availability_check | boolean | Force the move even if the slot isn't in the page's open availability. | |
notify_guest | boolean | Email the guest (default true), with a calendar file that updates their calendar. false = say nothing. | |
note | string | A line for the guest in that email — why, or what happens next. |
save_collection_items
Scope: pages:write
Add or change up to 200 items of a collection at once. Each: {values: {field: value}, slug? (to change an existing one; a new one gets a slug from its title), item_id?, shown? (false keeps it but takes it off the site), sample? (true marks a made-up example: shown, but never in the sitemap and hidden from search engines)}. A change merges into the item's values. A picture is the id of a file of this space's Assets. Answers what was saved and what was refused, item by item.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | |
items | object[] | yes |
save_page_translation
Scope: pages:write
Write a page's translation in one of its website's languages: layout_html is the WHOLE original page (get it with get_page) with its words translated — same design, same structure, same links, forms, bindings and data attributes untouched; only visible text, alt text, title and description change. A new translation is a draft; publish_page with the page_id this returns makes it live at /<language>/<the page's address>. Writing one that is already live changes it at once. Keep translations in step: get_site_languages shows which are out of date.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | The ORIGINAL page (main language). |
language | string | yes | |
layout_html | string | yes | |
title | string | ||
meta_title | string | ||
meta_description | string |
save_search_goal
Scope: pages:write
Add or change a goal: title (what to be recommended for, in the person's words), note, site_id, page_ids (the pages that answer it) and steps — the checklist the person sees: [{text, note?, done?, yours?}], where yours=true marks what only the person can do (signing up on a directory, asking a journalist) and done=true what is finished. Then tie the pages' searches to it (set_page_search add_targets goal_id).
| Parameter | Type | Required | Description |
|---|---|---|---|
goal_id | string | To change one; leave out to add a goal. | |
title | string | ||
note | string,null | ||
site_id | string | The site (list_sites). | |
page_ids | string[] | ||
steps | object[] |
set_blog_writing_guide
Scope: pages:write
Save a blog's own writing guide ("Your writing guide" in the blog's Settings): who the readers are, the voice, words to never use, what every post ends with, how often to publish, or anything that should be done differently from Wakato's guide. Every agent writing for this blog reads it after Wakato's guide, and it wins where they differ. Write it as short lines. Replaces the whole guide; pass null to clear. Change it when the person asks, or after they agree to a change you suggested.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | |
guide | string,null | yes | The whole guide text (under 8,000 characters), or null to clear. |
set_page_media
Scope: pages:write
Change one picture, video, audio or YouTube/Vimeo/Loom video on a page: how it plays (play: click | auto | in_view = when scrolled to; loop; sound; controls), where it starts (start_at), its volume and speed (video/audio files), its thumbnail (thumbnail_asset_id / thumbnail_url, "" to take it away), its caption, its description (alt, pictures), or its SOURCE — a new file (asset_id) or link (url) of the same kind: a new audio for an audio, a new YouTube/Vimeo/Loom link for an embed. Name it by its id (list_page_contents → playable), its url or its library file id. Works on media added with add_page_media and on what the page already had. Layout untouched — place_page_media moves or resizes.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | |
media | string | yes | Its id, url or asset_id (list_page_contents). |
play | click | auto | in_view | ||
loop | boolean | ||
sound | boolean | ||
controls | boolean | ||
start_at | number,string | Where playing starts: seconds (90) or a time ("1:30"). | |
volume | number | Loudness 0–100 (video/audio files; a YouTube/Vimeo/Loom player sets its own). | |
speed | number | Playback speed 0.25–2 (video/audio files). | |
thumbnail_asset_id | string | ||
thumbnail_url | string | A picture's link; "" takes the thumbnail away. | |
caption | string | ||
alt | string | What a picture shows, for people who can't see it. | |
asset_id | string | A new source: a library file of the same kind. | |
url | string | Or a new link: a file's url, or a new YouTube / Vimeo / Loom link. |
set_page_media_rules
Scope: pages:write
The page's own media rule: one_at_a_time = starting a video or audio with sound pauses any other one playing with sound (silent background loops keep playing; a YouTube/Vimeo/Loom player is another site's and isn't paused).
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | |
one_at_a_time | boolean | yes |
set_page_products
Scope: pages:write
Change which products a page shows, layout untouched: add = pin products beside the page's pinned cards (a card like the last one, right after it), remove = take products off THIS page (a pinned card is removed; a product that shows through a storefront grid is hidden in that grid — it stays on sale everywhere else, and add puts it back), grid = narrow a storefront grid ({index, tags: ["men"] = only products carrying all of them, [] = every product; limit: 6 or null}). Ids from list_products. On a live page the change is public at once.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | |
add | string[] | Product ids to pin, or to put back in a grid that hides them. | |
remove | string[] | Product ids to take off this page. | |
grid | object | Tags and/or limit for one storefront grid (index 0 = the first on the page). |
set_page_search
Scope: pages:write
Set what a page or blog post (blog_post_id) should be found for and what search engines read about it: add_targets (searches or questions, at most 10 each; give each page or post its OWN searches — two of yours after one search compete, and the answer lists them in competing; tie each to a goal with goal_id — naming one already followed with a goal_id ties it and keeps its history), remove_target_ids, meta_title (≤70, the link on Google), meta_description (≤160, under it), og_image_url, brand_names (the names the business goes by, which "named you" looks for in AI answers), country (two letters) and language the checks use. Research first (invoke_service seo-keyword-overview / seo-people-also-ask / aeo-answers) and make the page itself answer the searches — the words have to be on the page. Every change is kept in the page's history with your name.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | The page (list_pages). Pass this or blog_post_id. | |
blog_post_id | string | A blog post instead of a page (list_blog_posts): posts have their own Search & AI. | |
add_targets | object[] | ||
remove_target_ids | string[] | ||
meta_title | string,null | ||
meta_description | string,null | ||
og_image_url | string,null | ||
brand_names | string[] | ||
country | string | Two letters, e.g. US. | |
language | string | e.g. en. |
set_page_search_checking
Scope: pages:write
Switch a page's checking on (weekly or monthly) or off: each search is looked up on Google and asked to ChatGPT, Gemini, Claude and Perplexity, so the person sees the numbers move. It costs money from the space's wallet (get_page_search setup.cost_up_to says how much), so it always asks a person first — tell them the price in your message. Add the searches first (set_page_search) and publish the page.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | The page (list_pages). Pass this or blog_post_id. | |
blog_post_id | string | A blog post instead of a page (list_blog_posts): posts have their own Search & AI. | |
cadence | weekly | monthly | off | yes |
set_page_structured_data
Scope: pages:write
Set the structured data (JSON-LD) search engines and AI assistants read about a page: what the business is (e.g. a Florist / LocalBusiness / Product / Course with name, address, areaServed, openingHours, priceRange, telephone, aggregateRating) and its questions and answers (FAQPage, the same ones the page shows). Pass an object or a list; it must have "@context": "https://schema.org". Use only true facts from the business. json_ld null puts back the one made automatically at publish. Live at once.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | The page (list_pages). Pass this or blog_post_id. | |
blog_post_id | string | A blog post instead of a page (list_blog_posts): posts have their own Search & AI. | |
json_ld | object,array,string,null | yes | The JSON-LD, or null to clear. |
set_site_ai_crawlers
Scope: pages:write
Say whether AI assistants (ChatGPT, Claude, Perplexity, Gemini…) may read the site — robots.txt on its domain. Keeping them out means they cannot recommend the business from it. Always asks a person first.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | The site (list_sites). | |
page_id | string | A standalone page (not in a site) — instead of site_id. A page in a site uses its site's files. | |
allowed | boolean | yes |
set_site_languages
Scope: pages:write
Set a website's languages: main_language and the extra languages (two-letter codes: en, fr, es, de, pt, it, nl, ar, zh, ja…), and how visitors land — auto (their browser's language, else their country), suggest (a small note offering their language) or off. Every page gets a language switcher and a visitor's own choice is remembered; Google is told which page is which language. Adding a language shows nothing new until its pages are translated (save_page_translation) and published.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | The site (list_sites). |
main_language | string | ||
languages | string[] | The extra languages (the whole list). | |
mode | auto | suggest | off |
set_site_llms_txt
Scope: pages:write
Write the llms.txt of a site (site_id) or of a STANDALONE page (page_id): a short guide for AI assistants in Markdown — "# Business name", a one-line "> what it does, where, for whom", then "## Sections" with "- Page: what it answers". True facts only. text null goes back to the one made from its pages. Live at the domain's /llms.txt at once; with no domain yet it is saved and served the moment one is connected — say so, never that it is live.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | The site (list_sites). | |
page_id | string | A standalone page (not in a site) — instead of site_id. A page in a site uses its site's files. | |
text | string,null | yes |
set_up_site_search
Scope: pages:write
Connect a website to Google Search Console (and Bing Webmaster Tools when the space has it) and answer what happens next. When a person has signed in with Google for this space (the site's Search & AI page → Connect Google, done once), it is all automatic: Wakato asks Google for the ownership code, places it (the domain's DNS when Wakato runs it, else the home page), asks Google to check it, adds the site to their Search Console and sends the sitemap — a DNS record Google can't see yet is retried every 10 minutes. If Google already knows the site is theirs, it is used at once. When nobody has signed in yet, the answer says so: tell the person to press Connect Google on the site's Search & AI page (Pages → the site → Search & AI) — you can't sign in for them.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | The site (list_sites). |
share_canvas
Scope: pages:read
Give a canvas of this space to people so they can open it, look, draw and leave notes: someone on Wakato (user_id or @username) is added at once and told; any other email gets an invitation that opens only for that address. level view = they may only look; copy true = each gets their OWN copy instead of a place on this one. link: true turns on a link anyone can open and answers link_url (link: false turns it off). The person you work for confirms in the chat first. Use it when they ask you to share or send a canvas to someone, or for its link. get_canvas says who has it (access).
| Parameter | Type | Required | Description |
|---|---|---|---|
canvas_id | string | yes | |
link | boolean | true = turn on a link anyone can open (answers link_url — give it to them as it is); false = turn the link off. Leave out to change only who is on its list. | |
link_needs_sign_in | boolean | With link: true — only people signed in to Wakato may open it (the link shows the title alone to anyone else). | |
people | object[] | Each one: { user_id } (someone on Wakato, e.g. from list_space_members), { username } (their @username) or { email }. An email that is not on Wakato yet gets an invitation that opens only for that address. | |
level | edit | view | What they may do on it: edit (draw, move, add notes; the default) or view (look only — they can still make their own copy if copies are on). | |
copy | boolean | Give each of them their OWN copy of the canvas as it is now, instead of a place on this one. | |
message | string | A short line they read with it (optional). |
show_canvas
Scope: pages:read
Put a canvas of this space up beside your chat again, with the piece you name in view.
| Parameter | Type | Required | Description |
|---|---|---|---|
canvas_id | string | yes | |
piece_id | string | Bring this piece into view. |
show_on_screen
Scope: pages:read
Put something from this space in Preview beside your chat, so the person watches it live while you work on it: a document you are writing, a table you are filling, a page or app you are building, a form, an automation, or a file from Assets. Call it when you START working on one of those (before your first change), or when the person asks to see one. Your changes then appear on their screen as you make them. kind is one of document, table, page, app, form, automation, file; id is that thing's id (a file is its Assets id). Nothing is stored and it succeeds even when nobody has the chat open; someone who closed the panel is not disturbed.
| Parameter | Type | Required | Description |
|---|---|---|---|
kind | document | table | page | app | form | automation | file | yes | What it is. |
id | string | yes | Its id in this space. |
start_site_audit
Scope: pages:write
Crawl the whole website (it must be on its domain) and find what holds it back in search: pages not found or failing, broken links, redirects and chains, pages search engines can't list, missing or duplicate titles and descriptions, no main heading, thin or slow pages, images without descriptions. Paid by the page crawled (cents for a small site), billed to the space. It runs for a few minutes; the findings land in get_site_seo_reports and on the site's Search & AI page. Fix what it finds on Wakato pages yourself, then run it again: what it no longer finds is marked fixed.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | The site (list_sites). |
max_pages | number | The most pages to crawl (default: the sitemap's pages plus a margin; up to 1000). |
swap_page_media
Scope: pages:write
Replace one picture (or video) on a page with a library file — everywhere it appears, layout untouched, and bound to the file from then on (data-wakato-asset). Name the old one by from_url or from_asset_id as list_page_contents shows it; the new one must be a file of this space (list_document_assets, or upload_asset / add_asset_from_url first). A picture is swapped for a picture, a video for a video. On a live page the change is public at once.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | |
from_url | string | The url the page carries for the picture to replace (from list_page_contents). | |
from_asset_id | string | Or the library file it is bound to. | |
to_asset_id | string | yes | The library file to show instead. |
take_site_off_domain
Scope: pages:run
Stop showing this space's website or page at a domain (the address then shows nothing; the site, its pages and the domain stay). A person approves it in the chat every time.
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | yes |
track_site_search
Scope: pages:write
Take a search people already used to find the site (from get_site_search) and follow it on the page it lands on: it joins that page's (or blog post's) Search & AI searches, so its checks — Google position and whether ChatGPT, Gemini, Claude and Perplexity name the business — run with the page's checking.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | The site (list_sites). |
query | string | yes | |
page_url | string | The page it lands on (searches[].top_page). Default: the home page. |
update_blog_collection
Scope: pages:write
Edit a blog (collection): rename it, replace template_html to re-theme the post layout (keep the six tokens), or attach/detach a site_id / index_page_id (pass null to detach). Setting index_page_id writes the blog section into that page, so posts start appearing there automatically. The base_slug is fixed at creation.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | |
name | string | ||
template_html | string | Replacement post layout HTML with the six tokens. | |
site_id | string,null | Attach to a site, or null to detach. | |
index_page_id | string,null | The page this blog shows on (the blog section is written into it), or null to clear. | |
card_template | string,null | HTML for ONE index card, using {{url}} {{title}} {{excerpt}} {{cover_image}} {{author}} {{date}} {{category}}. Design it however the site needs — the same markup renders every post, forever. {{cover_image}} is a complete <img class="card-cover"> or NOTHING when the post has no cover, so never wrap it in your own <img>; for a background/overlay treatment use {{cover_image_css}} (the whole background-image declaration, or nothing) rather than url('{{cover_image_url}}'), which would emit url('') on a coverless post. Match the site's own card design — cards then render bare so the host page's grid styles them. Omit for a neutral built-in card. |
update_blog_post
Scope: pages:write
Edit a blog post's title, excerpt, cover_image_url, body_html, author, or its SEO overrides (meta_title / meta_description / og_image_url — pass null to clear one and fall back to the derived value).
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | yes | |
title | string | ||
excerpt | string | ||
cover_image_url | string | ||
body_html | string | ||
author_id | string,null | A byline from list_blog_authors, or null to clear it. | |
author | string | ||
category | string,null | Short label shown on index cards, e.g. "Compliance". | |
meta_title | string,null | SEO <title> override (≤70 chars), or null to fall back to title. | |
meta_description | string,null | SEO meta description override (≤160 chars), or null to fall back to excerpt. | |
og_image_url | string,null | Social share image override, or null to fall back to cover_image_url. |
update_booking_page
Scope: pages:write
Edit an existing booking page — everything its settings screen has: name, length, open hours (availability), days off / special days (date_overrides), one-on-one vs group, notice, how far ahead, status, location, form, confirmation email, branding, which calendars close its slots (checks_calendars) and where bookings are also copied (copy_bookings_to). Pass booking_page_id + only the fields to change. Set meeting_location_type to "wakato_meet" so every booking auto-creates a Wakato Meet video-call link.
| Parameter | Type | Required | Description |
|---|---|---|---|
booking_page_id | string | yes | |
name | string | ||
description | string | ||
duration_minutes | number | ||
timezone | string | ||
status | draft | active | paused | ||
buffer_minutes | number | ||
min_notice_hours | number | ||
max_advance_days | number | ||
meeting_location_type | wakato_meet | in_person | phone_call | custom_link | ||
meeting_location_value | string | ||
form_id | string | Attach a Space form (id) so guests answer extra questions when booking, or null to detach. Must belong to this space. | |
availability | object[] | Weekly open hours, replacing the current ones: [{ day: 1, start: "09:00", end: "17:00" }] — day 0 = Sunday … 6 = Saturday; several ranges on one day are several rows. | |
date_overrides | object[] | Days that differ from the weekly hours (replaces the list): { date: "2026-12-24", available: false } closes a day; { date, available: true, ranges: [{ start, end }] } opens it with its own hours. | |
max_attendees | number | Group pages: how many people can book the same slot. | |
slot_interval_minutes | number,null | How often slots start (e.g. 15 = every quarter hour); null = every duration_minutes. | |
checks_calendars | string[] | Which calendars' busy events close slots on this page — keys from list_calendars ('space' = events made in this space, 'conn:<id>' = a Google/Outlook account, 'phone:<id>' = a member's phone). The others are ignored. [] = only this page's own bookings count. | |
copy_bookings_to | string,null | Also put every booking on this Google/Outlook calendar of the space (a 'conn:<id>' key from list_calendars), so it shows as taken there too. null = stop. | |
booking_type | one_on_one | group | ||
confirmation_message | string | Text shown on-page after booking AND inside the default confirmation email. | |
confirmation_email_enabled | boolean | Send the guest a confirmation email with the .ics invite (default true). false = no email. | |
confirmation_email_subject | string | Custom confirmation email subject. Merge tags: {{guest_name}} {{guest_email}} {{page_name}} {{business_name}} {{meeting_time}} {{meeting_link}} {{meeting_location}}. | |
confirmation_email_body | string | Custom confirmation email body text — replaces the default greeting/intro; the meeting time, join link, and .ics invite are always included below it. Merge tags: {{guest_name}} {{guest_email}} {{page_name}} {{business_name}} {{meeting_time}} {{meeting_link}} {{meeting_location}}. | |
branding | object | Partial branding patch, MERGED onto existing branding (null value clears a key). Keys: brand_name (the name guests read: who the booking is with in their emails, and at the top of the page), mode ('light'|'dark'), primary_color, background_color, card_color, text_color, muted_color, border_color, on_primary_color, input_background, subtle_color, disabled_color, font_family, radius, button_text, photo_url (https cover photo shown on the public page's brand panel), logo_url. Setting only photo_url never clobbers existing colors. |
update_canvas
Scope: pages:read
Change a piece of a canvas you or another agent made in this space: send the whole new HTML of that piece (piece_id); it becomes its next version and the earlier ones stay in its version menu. Use it after the person leaves a note, picks, screenshots or draws on it.
| Parameter | Type | Required | Description |
|---|---|---|---|
canvas_id | string | yes | |
piece_id | string | Which piece of the canvas (get_canvas lists them). Not needed when it holds one. | |
html | string | yes | The whole new piece. It becomes its next version; earlier ones stay. |
note | string | One line on what changed, e.g. "Status is a menu now". | |
title | string | A new name for the piece, if it changes. | |
canvas_title | string | A new name for the canvas, if it changes. | |
width | number | ||
height | number | ||
duration_seconds | number | Its length in seconds when it plays over time; 0 when it no longer does. | |
data | none | sample | real | ||
show | boolean | Put it up beside the chat (default true). |
update_page
Scope: pages:write
Update a page's title/description and/or rewrite its layout_html. To change only what's ON the page — a picture, which products show — use swap_page_media / set_page_products instead: they never touch the layout, and they are all an agent held at "Change what's on it" has. Embedded form/booking/product references are re-validated against this space. Storefront containers (data-wakato-products with optional data-tags/data-limit / data-wakato-product="<id>") and the blog index (data-wakato-blog-index) are supported the same as create_page. If the page is already published the change goes LIVE immediately — run preview_page afterwards.
DESIGN BRIEF — an unstyled or default-looking page is a FAILED build. BEFORE the first page of a conversation, call get_page_guide: it carries the space's brand record and how to work with the person — ask before deciding the look, show a direction, build a DRAFT, check it with preview_page, publish only when they say so — plus what usually converts for each kind of page (get_page_guide {kind}). The person's words, their brand and your instructions come first; never give two businesses the same page. Commit to a small system before writing HTML: one background family, one ink color, ONE accent kept for actions, AA-readable contrast; two Google Fonts via <link> (a display face with character, a plain body face); a type scale and a spacing rhythm, content in a max-width container with ≥16px side gutters. RESPONSIVE IS MANDATORY: include the viewport meta, grids/flex collapse to one column ≤768px, nothing overflows horizontally (images max-width:100%, fixed aspect via object-fit:cover), tap targets ≥44px. IMAGES: reference ONLY real URLs you know exist (space assets, generate_image results) — NEVER invent file paths; with no image available, design with gradients/patterns/typography instead of leaving broken tiles or icon placeholders. Whenever a url came with a library asset id, CARRY THE ID: <img src="<url>" data-wakato-asset="<asset_id>"> (a CSS background puts data-wakato-asset-bg="<asset_id>" on the element). That binds the media to the file, so replacing the file later updates every page using it and the owner can manage it from the page editor's media shelf. Video/audio/YouTube: add_page_media. Popups open by data-wakato-popup-open="<id>". LIVE DATA: to show a space table's rows (pricing, menu, directory, schedule), embed <div data-wakato-table="<table id>" data-columns="key1,key2" data-limit="10"></div> and let it fill itself — NEVER paste rows in as text, which freezes them the moment you write them. Only a table whose owner set web_published renders, and only its web_columns (list_tables tells you both); if the table the user means is not published, say so rather than pasting its rows in. Put a short fallback line inside the container for the case where it resolves to nothing. To show a document's text (terms, a policy, a guide, a changelog), embed <div data-wakato-document="<document id>"></div> — again never pasting the text in, and again only a document whose owner published it to the web renders (list_documents tells you which). Same for products (data-wakato-products) and blog posts (data-wakato-blog-index). Content gated behind scroll-triggered JS must still be visible with JS disabled (headless QA screenshots scroll once, nothing more).
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | |
title | string | ||
description | string | ||
layout_html | string | Replacement HTML document. | |
meta_title | string | Search/social <title> override (≤70 chars). Defaults to the page title. | |
meta_description | string | Meta + og:description (≤160 chars). Falls back to description; when neither is set the tag is omitted, leaving any <meta name="description"> in your own layout_html to stand. | |
og_image_url | string | Social share image for this page. |
update_site
Scope: pages:write
Update a web artifact after creation: title, description, nav_layout (top/sidebar/none), logo_url, root_page_id (the home page / step 1), and the managed nav_config. nav_config replaces the whole nav when provided: { enabled, items: [{label?, page_id? | url?}], cta: {label, page_id? | url?}, style: {sticky?, theme? (auto/light/dark), transparent_on_hero?, logo_position? (left/center), accent_color?} }. Page items must be pages of THIS site; item labels default to the live page title. WEBSITES ONLY for nav: landing pages are forward-only and any attempt to enable a nav on kind:landing is rejected — if visitors should browse freely, build a website instead.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes | |
title | string | ||
description | string | ||
nav_layout | top | sidebar | none | ||
logo_url | string | Brand logo URL. Empty string removes the logo. | |
root_page_id | string | Page id to use as the site's home page. | |
nav_config | object | Managed navigation. items = ordered nav entries ({page_id} for site pages, {url} for external/public links like /f/<slug>); cta = optional highlighted button; style = bar appearance. |
update_site_collection
Scope: pages:write
Change a collection: name, slug (its address: every page of the website showing it is updated; do it before the site is on a domain, since saved links to the old address stop working), fields (send the whole list), title/group/featured/sort field, card template, the item and group page designs (null takes one away). Removing a field leaves its values on items but no page shows them.
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | |
name | string | ||
item_label | string | ||
slug | string | A new address, e.g. dog-groomers. | |
fields | object[] | List of fields: [{key, label, type, options?, private?}]. Types: text, long_text, number, picture (an Assets file id), link, email, phone, yes_no, choice (options), tags (several of options or free), date. private: true keeps a field (an owner email) off every page. | |
title_field | string | ||
group_field | string,null | ||
featured_field | string,null | ||
default_sort | string,null | ||
default_desc | boolean | ||
group_min_items | number | ||
card_template | string | ||
item_page_id | string,null | ||
group_page_id | string,null | ||
item_schema | string,null | What each item is, for search engines and AI assistants: LocalBusiness, Organization, Product, SoftwareApplication, Place, Event, Person, Service, Course, Restaurant, LodgingBusiness, EventVenue, JobPosting, CreativeWork or Thing. Every item page then carries that structured data, built from the fields. |
validate_site
Scope: pages:read
Readiness lint for a site BEFORE (or after) publishing: reports dead links (/pg/, /f/, /b/, /pay/, /post/ that resolve to nothing), nav items pointing at deleted or draft pages, form/booking/product embeds that don't exist in this space, and unpublished pages. Run this after building a multi-page site and FIX every error it reports — a site with dead links is not done. Returns { ok, pages_total, pages_published, issues: [{severity, code, message, page_id?, detail?}] }.
| Parameter | Type | Required | Description |
|---|---|---|---|
site_id | string | yes |