# Website

> The owner MCP's tools for the store's website.

| Tool | What it does | Gate | Permission |
|---|---|---|---|
| [`draft_store`](https://docs.kaizenaflow.com/reference/mcp/website#draft-store) | Draft store | none | `website:write` |
| [`list_pages`](https://docs.kaizenaflow.com/reference/mcp/website#list-pages) | List pages | none | `website:read` |
| [`get_page`](https://docs.kaizenaflow.com/reference/mcp/website#get-page) | Get page | none | `website:read` |
| [`list_page_builds`](https://docs.kaizenaflow.com/reference/mcp/website#list-page-builds) | List page builds | none | `website:read` |
| [`build_page`](https://docs.kaizenaflow.com/reference/mcp/website#build-page) | Build page | none | `website:write` |
| [`cancel_page_build`](https://docs.kaizenaflow.com/reference/mcp/website#cancel-page-build) | Cancel page build | none | `website:write` |
| [`edit_page`](https://docs.kaizenaflow.com/reference/mcp/website#edit-page) | Edit page | none | `website:write` |
| [`get_menus`](https://docs.kaizenaflow.com/reference/mcp/website#get-menus) | Get menus | none | `website:read` |
| [`set_header_footer`](https://docs.kaizenaflow.com/reference/mcp/website#set-header-footer) | Set header footer | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`draft_header_footer`](https://docs.kaizenaflow.com/reference/mcp/website#draft-header-footer) | Draft header footer | none | `website:write` |
| [`use_header_footer`](https://docs.kaizenaflow.com/reference/mcp/website#use-header-footer) | Use header footer | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`publish_page`](https://docs.kaizenaflow.com/reference/mcp/website#publish-page) | Publish page | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`list_forms`](https://docs.kaizenaflow.com/reference/mcp/website#list-forms) | List forms | none | `website:read` |
| [`make_form`](https://docs.kaizenaflow.com/reference/mcp/website#make-form) | Make form | none | `website:write` |
| [`change_form`](https://docs.kaizenaflow.com/reference/mcp/website#change-form) | Change form | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`place_form`](https://docs.kaizenaflow.com/reference/mcp/website#place-form) | Place form | none | `website:write` |
| [`get_brand`](https://docs.kaizenaflow.com/reference/mcp/website#get-brand) | Get brand | none | `website:read` |
| [`set_brand`](https://docs.kaizenaflow.com/reference/mcp/website#set-brand) | Set brand | none | `website:write` |
| [`make_brand_marks`](https://docs.kaizenaflow.com/reference/mcp/website#make-brand-marks) | Make brand marks | none | `website:write` |
| [`look_at_page`](https://docs.kaizenaflow.com/reference/mcp/website#look-at-page) | Look at page | none | `website:read` |
| [`look_at_store`](https://docs.kaizenaflow.com/reference/mcp/website#look-at-store) | Look at store | none | `website:read` |
| [`get_page_look`](https://docs.kaizenaflow.com/reference/mcp/website#get-page-look) | Get page look | none | `website:read` |
| [`set_page_place`](https://docs.kaizenaflow.com/reference/mcp/website#set-page-place) | Set page place | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`save_menu`](https://docs.kaizenaflow.com/reference/mcp/website#save-menu) | Save menu | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`list_blogs`](https://docs.kaizenaflow.com/reference/mcp/website#list-blogs) | List blogs | none | `website:read` |
| [`blog_comments`](https://docs.kaizenaflow.com/reference/mcp/website#blog-comments) | Blog comments | none | `website:read` |
| [`moderate_blog_comment`](https://docs.kaizenaflow.com/reference/mcp/website#moderate-blog-comment) | Moderate blog comment | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`schedule_article`](https://docs.kaizenaflow.com/reference/mcp/website#schedule-article) | Schedule article | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`list_scheduled_changes`](https://docs.kaizenaflow.com/reference/mcp/website#list-scheduled-changes) | List scheduled changes | none | `website:read` |
| [`schedule_site_change`](https://docs.kaizenaflow.com/reference/mcp/website#schedule-site-change) | Schedule site change | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`list_content_types`](https://docs.kaizenaflow.com/reference/mcp/website#list-content-types) | List content types | none | `website:read` |
| [`list_entries`](https://docs.kaizenaflow.com/reference/mcp/website#list-entries) | List entries | none | `website:read` |
| [`get_entry`](https://docs.kaizenaflow.com/reference/mcp/website#get-entry) | Get entry | none | `website:read` |
| [`save_entry`](https://docs.kaizenaflow.com/reference/mcp/website#save-entry) | Save entry | none | `website:write` |
| [`publish_entry`](https://docs.kaizenaflow.com/reference/mcp/website#publish-entry) | Publish entry | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`unpublish_entry`](https://docs.kaizenaflow.com/reference/mcp/website#unpublish-entry) | Unpublish entry | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`save_content_type`](https://docs.kaizenaflow.com/reference/mcp/website#save-content-type) | Save content type | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`list_themes`](https://docs.kaizenaflow.com/reference/mcp/website#list-themes) | List themes | none | `website:read` |
| [`add_theme`](https://docs.kaizenaflow.com/reference/mcp/website#add-theme) | Add theme | none | `website:write` |
| [`design_look`](https://docs.kaizenaflow.com/reference/mcp/website#design-look) | Design look | none | `website:write` |
| [`try_theme`](https://docs.kaizenaflow.com/reference/mcp/website#try-theme) | Try theme | none | `website:read` |
| [`make_theme_live`](https://docs.kaizenaflow.com/reference/mcp/website#make-theme-live) | Make theme live | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`redirect_overview`](https://docs.kaizenaflow.com/reference/mcp/website#redirect-overview) | Redirect overview | none | `website:read` |
| [`add_redirect`](https://docs.kaizenaflow.com/reference/mcp/website#add-redirect) | Add redirect | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |
| [`unpublish_page`](https://docs.kaizenaflow.com/reference/mcp/website#unpublish-page) | Unpublish page | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `website:write` |

## Draft store {#draft-store}

`draft_store`

Drafts the store from one description (D351): a front page and up to three more pages built by the page studio as DRAFTS in the background (a minute or two each, with pictures after), and, when you name one from list_themes, a free theme added to the library without going live. The owner reads them on Home's Your drafts card, changes what they like and publishes them with one press there (which also makes the first the front page, puts the others in the header's menu and makes the theme live). Nothing is on the site before that. One draft at a time. Give only facts the owner gave; never a price.

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#draft-store-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `description` | string, 10 to 1,500 characters | yes | What the store is, sells and stands for, in the owner's words. |
| `front` | object | yes | The front page: what it is for and what it must say. |
| `front.purpose` | string, 1 to 1,000 characters | yes |   |
| `front.key_points` | list of string, 1 to 400 characters, at most 12 items | no, default `[]` |   |
| `pages` | list of objects, at most 3 items | no, default `[]` | Up to three more pages (About us, Contact, a service page), each with its title and purpose. |
| `pages[].title` | string, 1 to 200 characters | yes |   |
| `pages[].purpose` | string, 1 to 1,000 characters | yes |   |
| `facts` | list of string, 1 to 400 characters, at most 20 items | no, default `[]` | Facts the owner gave that the pages may state; never a price. |
| `theme` | string (uuid) | no | A free theme's id from list_themes, added to the library (not live until the drafts are published). |
| `preset` | string, 1 to 40 characters | no | One of that theme's presets. |

## List pages {#list-pages}

`list_pages`

The store's pages or blog articles: title, address and whether they are published.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-pages-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `type` | one of `page`, `article` | no, default `"page"` |   |

## Get page {#get-page}

`get_page`

One page or article as its draft stands: its texts by key (title, search texts, each heading, text, button and caption, with its longest length), its rows in order by id and number with the parts they hold (an empty picture says so), whether it is on the site, what publishing it would still need (the accessibility checker's problems) and its pictures still being made. Read it before edit_page.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#get-page-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `page` | string, 1 to 200 characters | yes | The page's id, or its address (slug) as list_pages gives it. |
| `type` | one of `page`, `article` | no, default `"page"` | A page, or a blog article. |

## List page builds {#list-page-builds}

`list_page_builds`

The pages build_page was asked to build, most recent first: being built, built as a draft (with its page and editor link, and what the AI left out and why) or not built (with why), and how its pictures are coming along.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-page-builds-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `limit` | integer, 1 to 20 | no, default `5` | How many at most (1–20). |

## Build page {#build-page}

`build_page`

Builds a new page as a DRAFT with the page studio, from a brief: it plans the sections from the builder's designs, writes each in the site's language, checks every word with the claims filter and saves the draft; pictures are made one at a time after, by the site's picture model. It runs after your answer and takes a minute or two: say so, and use list_page_builds to see when it is done. Give only facts the owner gave you (what they offer, how they work, opening hours, a video's address): the page states nothing else but the site's own, never a price. When list_page_builds says it is done, look at it with look_at_page and fix what it finds with edit_page; publish it with publish_page once the owner has seen it.

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#build-page-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `title` | string, 1 to 200 characters | yes | The page's title, as the owner would name it. |
| `purpose` | string, 1 to 1,000 characters | yes | What the page is for, in a sentence or two. |
| `audience` | string, at most 500 characters | no, default `""` | Who it is for. |
| `key_points` | list of string, 1 to 400 characters, at most 12 items | no, default `[]` | What it must say, point by point. |
| `facts` | list of string, 1 to 400 characters, at most 20 items | no, default `[]` | Facts the owner gave that the page may state (what they offer, how they work, opening hours, a YouTube or Vimeo address for a video): only these and the site's own are written. Never invent one, and never a price. |
| `sections` | list of string, 1 to 300 characters, at most 12 items | no, default `[]` | Sections the owner asked for, if any (the AI plans them otherwise). |
| `call_to_action` | string, at most 300 characters | no, default `""` | What visitors should do next. |
| `tone` | string, at most 300 characters | no, default `""` | How it should sound. |
| `pictures` | boolean | no, default `true` | Whether the page has pictures made by the site's picture model, one at a time after it is built. |
| `picture_style` | string, at most 500 characters | no, default `""` | What the pictures should show and look like. |

## Cancel page build {#cancel-page-build}

`cancel_page_build`

Stops a page build_page started, by its id from list_page_builds, when the owner no longer wants it: one still waiting is not built, and one being built that moment is stopped and its unfinished draft deleted, so nothing of it is left. One already built is not undone: say its draft stays in Pages, to delete there or with the owner.

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** destructive, idempotent

### Inputs {#cancel-page-build-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `build` | string (uuid) | yes | The build's id, from build_page or list_page_builds. |

## Edit page {#edit-page}

`edit_page`

Changes a page's DRAFT, saved as the builder saves it with a version kept: set a text by its key from get_page, replace words everywhere on the page, add a section in one of the page studio's designs (its words written from your brief and the owner's facts, its picture made after), remove a row or move one. Several changes are made in order and saved together; one that cannot be made refuses them all, with why. Words in parts shared with other pages are changed in the builder. A page on the site stays as it is there until publish_page. After a change that moves things about, look at it again with look_at_page.

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#edit-page-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `page` | string, 1 to 200 characters | yes | The page's id, or its address (slug) as list_pages gives it. |
| `type` | one of `page`, `article` | no, default `"page"` | A page, or a blog article. |
| `changes` | list of shapes, 1 to 20 items | yes | The changes, made in this order and saved together as the page's draft. |

**`changes[]` when `do` is `set_text`**

| Field | Type | Required | Description |
|---|---|---|---|
| `changes[].do` | `"set_text"` | yes |   |
| `changes[].key` | string, 1 to 200 characters | yes | The text's key, as get_page gives it (title, seo.description, block.{id}.text, …). |
| `changes[].text` | string, at most 20,000 characters | yes | The new words. A rich text takes paragraphs with a blank line between, lines starting "- " for a list, \*\*bold\*\* and \[words\](https://kaizenaflow.com/address) for a link to the site's own address. |

**`changes[]` when `do` is `replace`**

| Field | Type | Required | Description |
|---|---|---|---|
| `changes[].do` | `"replace"` | yes |   |
| `changes[].find` | string, 1 to 200 characters | yes | Words to find in every text of the page. |
| `changes[].replace` | string, at most 200 characters | yes | What to put in their place. |
| `changes[].match_case` | boolean | no, default `false` |   |
| `changes[].whole_words` | boolean | no, default `false` |   |

**`changes[]` when `do` is `add_section`**

| Field | Type | Required | Description |
|---|---|---|---|
| `changes[].do` | `"add_section"` | yes |   |
| `changes[].pattern` | one of `hero`, `features`, `checklist`, `textImage`, `text`, `steps`, `faq`, `tabs`, `products`, `articles`, `reviews`, `gallery`, `video`, `callToAction` | yes | The design: hero (Opening), features (Features), checklist (Checklist), textImage (Text and picture), text (Text), steps (Steps), faq (Questions and answers), tabs (Tabs), products (Products), articles (Articles), reviews (Google reviews), gallery (Pictures), video (Video), callToAction (Call to action). An opening (hero) only as the first row. |
| `changes[].variant` | string, at most 40 characters | no |   |
| `changes[].name` | string, 1 to 80 characters | yes | What the section is called, for the owner. |
| `changes[].brief` | string, 1 to 1,500 characters | yes | What it says: the AI writes its words from this, the facts and the page. |
| `changes[].facts` | list of string, 1 to 400 characters, at most 20 items | no, default `[]` | Facts the owner gave for it (as build_page's). |
| `changes[].at` | integer, 1 to 50 | no | Its place among the rows, as get_page numbers them (1 is the top); at the end when left out. |
| `changes[].picture` | object | no | Its picture, for the designs that have one. |
| `changes[].picture.prompt` | string, 10 to 1,500 characters | yes | What the picture shows, as a photographer's brief, in English, with no words or logos in it. |
| `changes[].picture.alt` | string, 3 to 300 characters | yes | What it shows, in one short sentence in the page's language. |
| `changes[].pictures` | list of objects, at most 4 items | no | A gallery's pictures. |
| `changes[].pictures[].prompt` | string, 10 to 1,500 characters | yes | What the picture shows, as a photographer's brief, in English, with no words or logos in it. |
| `changes[].pictures[].alt` | string, 3 to 300 characters | yes | What it shows, in one short sentence in the page's language. |
| `changes[].links` | list of string, at most 500 characters, at most 2 items | no | Addresses its buttons go to: only the site's own. |
| `changes[].category` | string, at most 100 characters | no | A product grid's category, by its address (slug). |

**`changes[]` when `do` is `remove_row`**

| Field | Type | Required | Description |
|---|---|---|---|
| `changes[].do` | `"remove_row"` | yes |   |
| `changes[].row` | string, 1 to 100 characters | yes | The row's id, as get_page gives it. |

**`changes[]` when `do` is `move_row`**

| Field | Type | Required | Description |
|---|---|---|---|
| `changes[].do` | `"move_row"` | yes |   |
| `changes[].row` | string, 1 to 100 characters | yes | The row's id, as get_page gives it. |
| `changes[].to` | integer, 1 to 50 | yes | Its new place, 1 being the top. |

## Get menus {#get-menus}

`get_menus`

The site's menus: each one's links in order (words in the main language, where each goes, how deep) and where it is shown (the standard header or footer, or the pages that hold a menu component); and which menus the standard header and footer show. Read it before save_menu or set_header_footer.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#get-menus-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Set header footer {#set-header-footer}

`set_header_footer`

Chooses which of the site's menus the standard header and footer show, and its logo (and the logo for dark backgrounds) from the media library, as Header and footer saves them; anything left out stays as it is. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** idempotent

### Inputs {#set-header-footer-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `header_menu` | string, 1 to 80 characters or null | no | The menu the standard header shows, by id or name; null for none; left out to keep it. |
| `footer_menu` | string, 1 to 80 characters or null | no | The menu the standard footer shows, as header_menu. |
| `logo` | string, 1 to 1,000 characters or null | no | The logo's address in the media library; null for none (the site's name shows); left out to keep it. |
| `logo_dark` | string, 1 to 1,000 characters or null | no | The logo for dark backgrounds, as logo. |
| `icon` | string, 1 to 1,000 characters or null | no | The site's icon in browser tabs: a square picture of at least 256 pixels from the media library (make_brand_marks makes one); null for the standard icon; left out to keep it. |

## Draft header footer {#draft-header-footer}

`draft_header_footer`

Drafts a header or footer of the site's own (D351): the standard one's parts (logo, menu, search and cart, or the business details, cookies and withdrawal links), arranged as asked, showing one of the site's menus, in a section style of the live theme. Saved as a DRAFT the owner can open and change in the builder; the site keeps its header and footer until use_header_footer.

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#draft-header-footer-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `kind` | one of `header`, `footer` | yes |   |
| `look` | one of `standard`, `centred`, `columns`, `simple` | no | A header: standard (logo left, menu, tools right) or centred (menu left, logo in the middle). A footer: columns or simple (one column). |
| `menu` | string, 1 to 80 characters | no | The menu it shows, by id or name from get_menus; the standard one's when left out. |
| `section_style` | string, 1 to 40 characters | no | One of the live theme's section styles (plain, hero, feature, muted, contrast, quote, or the theme's own), for its colours; plain when left out. |
| `title` | string, 1 to 120 characters | no | Its name in the builder. |

## Use header footer {#use-header-footer}

`use_header_footer`

Makes one of the site's own headers or footers the one the site shows (publishing its draft first), or goes back to the standard one, as Header and footer chooses it. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** idempotent

### Inputs {#use-header-footer-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `kind` | one of `header`, `footer` | yes |   |
| `page` | string, 1 to 200 characters | yes | The header's or footer's id (draft_header_footer gives it), or standard to go back to the standard one. |

## Publish page {#publish-page}

`publish_page`

Publishes a page's or article's draft, as the builder's Publish does. Refused while the page has problems the accessibility checker blocks on (fix them with edit_page first; the owner can publish past them in the builder) or while it is in a running A/B test. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** idempotent

### Inputs {#publish-page-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `page` | string, 1 to 200 characters | yes | The page's id, or its address (slug) as list_pages gives it. |
| `type` | one of `page`, `article` | no, default `"page"` | A page, or a blog article. |

## List forms {#list-forms}

`list_forms`

The site's forms (D705), as Website → Forms lists them: each one's name, kind (message form or newsletter sign-up), whether it is archived, how many questions it asks, how many responses it has and how many are new, the pages that show it, and whether it takes answers (it needs an address to send to). templates: true also lists the templates a new form can be made from. Read-only.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-forms-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `templates` | boolean | no, default `false` | Also list the templates a new form can be made from (Kaizena Flow's, the store's own and shared ones). |

## Make form {#make-form}

`make_form`

Makes a form from a template (list_forms with templates: true: Contact, Quote request, Booking enquiry, Call me back, Feedback, Event registration, Newsletter, and the site's own), in the site's languages, sending to the site's own address, as New form does. It shows nowhere until a page places it (place_form). Never make a form the owner did not ask for.

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#make-form-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `template` | string, 1 to 200 characters | yes | The template's name or id as list_forms gives it with templates: true, such as Contact, Quote request or Newsletter. A form is always made from one. |
| `name` | string, 1 to 80 characters | no | The owner's name for the new form. Left out: the template's name. |

## Change form {#change-form}

`change_form`

Changes a form, saved as its editor saves it: its name, its questions (whole and in order), the addresses its messages are emailed to (only addresses the owner gave), its button's words or its thank-you message. Only what is given changes. A page that shows it shows the change at once, so it needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#change-form-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `form` | string, 1 to 200 characters | yes | The form: its name as list_forms gives it (a part of it is enough when only one form has it), or its id. |
| `name` | string, 1 to 80 characters | no | A new name for the owner's list; never shown on the site. |
| `questions` | list of objects, 1 to 20 items | no | A message form's questions, whole and in order: what it asks from now on. A question kept as it was keeps its words in other languages. |
| `questions[].kind` | one of `name`, `email`, `phone`, `text`, `textarea`, `select`, `radio`, `checkbox`, `checklist`, `number`, `date`, `hidden`, `file` | yes | name, email, phone, text (one line), textarea (a message), select (a dropdown), radio (one choice), checkbox (one tick), checklist (any of the choices), number, date, hidden (never asked: keeps a part of the page's address, such as a campaign) or file (one picture or PDF the visitor attaches). |
| `questions[].label` | string, at most 200 characters | no, default `""` | The question, in the site's main language. Left empty for name, email, phone and textarea: the usual words in the visitor's language. |
| `questions[].required` | boolean | no, default `false` |   |
| `questions[].choices` | list of string, 1 to 200 characters, at most 20 items | no | The choices of a select, radio or checklist question, in order. |
| `questions[].help` | string, at most 200 characters | no | A line of help under the question. |
| `questions[].param` | string, matching `^[A-Za-z0-9_.-]{1,64}$` | no | A hidden question's part of the address, such as utm_campaign (the default) or code. Only for hidden; its label names it in the responses. |
| `recipients` | list of string (email), at most 254 characters, 1 to 5 items | no | Where its messages are emailed, whole: only addresses the owner gave. |
| `button` | string, at most 60 characters | no | The button's words; empty: the usual words. |
| `thanks` | string, at most 1,000 characters | no | What visitors read after sending; empty: the usual words. |

## Place form {#place-form}

`place_form`

Puts a form on a page's DRAFT with the Form component, as a row of its own (at the end, or at a row number), saved as the builder saves it. The site shows the page as it was until it is published (publish_page, the owner's yes first).

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#place-form-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `form` | string, 1 to 200 characters | yes | The form: its name as list_forms gives it (a part of it is enough when only one form has it), or its id. |
| `page` | string, 1 to 200 characters | yes | The page: its id, or its address (slug) as list_pages gives it. |
| `at` | integer, 1 to 100 | no | The row it goes in as, counted from the top (1 is first). Left out: the end of the page. |

## Get brand {#get-brand}

`get_brand`

The brand set down in words: its tagline, how it speaks, who it is for, what it stands for and the words it never uses. Read it before writing pages, products, emails or answers to customers, and write in that voice.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#get-brand-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Set brand {#set-brand}

`set_brand`

Keeps the brand in words: a tagline customers may see (no claims the business cannot show), its voice, its audience, up to five values and up to ten words to avoid. Only the fields given change. Only staff see it, except the tagline where the store shows it.

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** idempotent

### Inputs {#set-brand-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `tagline` | string, at most 120 characters | no | A short line customers may see beside the store's name. No claims (best, cheapest, green) the store cannot show. |
| `voice` | string, at most 600 characters | no | How the brand speaks: tone, sentence length, formality, what it sounds like and what it never sounds like. |
| `audience` | string, at most 400 characters | no | Who the business is for, in plain words. |
| `values` | list of string, 1 to 40 characters, at most 5 items | no | Up to five short words the brand stands for. |
| `avoid` | list of string, 1 to 40 characters, at most 10 items | no | Up to ten words or phrases the brand never uses. |

## Make brand marks {#make-brand-marks}

`make_brand_marks`

Draws the brand's logo (for light and for dark backgrounds) and its icon (one or two initials on the accent) from the brand's name in its own font and the live theme's colours, and keeps them in the media library: visitors see nothing until set_header_footer puts them in place. Make it after the look is live, so the colours and font are the brand's.

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#make-brand-marks-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `text` | string, 1 to 40 characters | no | The words of the logo; the store's name unless given. |
| `font` | string, 1 to 100 characters | no | A font family from Google Fonts' catalogue; the theme's heading font unless given. |
| `weight` | integer, 100 to 900 | no | The font's weight, 100 to 900; 700 unless given. |
| `colour` | one of `text`, `accent` | no, default `"text"` | The logo in the theme's text colour or its accent. |
| `icon_shape` | one of `circle`, `rounded`, `square` | no, default `"rounded"` |   |
| `icon_letters` | string, 1 to 2 characters | no | One or two letters for the icon; the name's initials unless given. |

## Look at page {#look-at-page}

`look_at_page`

Looks at a page's or article's DRAFT as visitors would see it: photographed on a phone and a computer, measured by code (sideways scrolling, pictures that did not load) and judged by the store's model that sees pictures (things cut off or on top of each other, words hard to read, a missing picture, no clear next step), with the accessibility checker's blocking issues and claims in its words. Answers with the findings, or that the look is still being taken (read it with get_page_look). Changes nothing. Use it after building or changing a page and before asking to publish it; fix what blocks with edit_page and look again, at most twice: a page is looked at at most three times an hour.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#look-at-page-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `page` | string, 1 to 200 characters | yes | The page's id or address, from list_pages. |
| `type` | one of `page`, `article` | no, default `"page"` |   |

## Look at store {#look-at-store}

`look_at_store`

Looks at the store as shoppers see it now: its home page, a product page and the cart, on a phone and a computer, measured by code and judged by the store's model that sees pictures, with the header, footer and theme in the pictures. Changes nothing. Use it after a design change (make_theme_live) to see that nothing broke.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#look-at-store-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Get page look {#get-page-look}

`get_page_look`

A look taken by look_at_page or look_at_store, by its id: whether it is finished, and its findings.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#get-page-look-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `look` | string (uuid) | yes |   |

## Set page place {#set-page-place}

`set_page_place`

Shows one of the store's PUBLISHED pages in a place: the front page, the All products page, a special page (blog, search, 404, the cart, checkout, order, account and other working pages, which must hold the shop's own component) or a legal page (terms, privacy and the others: the owner's alone), or the standard page again with page null. A page is in one place at a time. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** idempotent

### Inputs {#set-page-place-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `place` | one of `front`, `products`, `blog`, `search`, `not_found`, `cart`, `checkout`, `order`, `account`, `sign_in`, `wishlist`, `subscription`, `deliveries`, `cookies`, `category`, `private`, `tag`, `terms`, `privacy`, `returns_policy`, `shipping_policy`, `withdrawal_info`, `imprint`, `accessibility` | yes | The place: front (front page), products (All products page), blog (blog page), search (search page), not_found (404 page), cart (cart page), checkout (checkout page), order (order confirmation page), account (my account page), sign_in (sign-in page), wishlist (wishlist page), subscription (subscription page), deliveries (subscription boxes page), cookies (cookies page), category (category pages), private (private mode page), tag (tag pages), terms (terms of sale), privacy (privacy statement), returns_policy (returns policy), shipping_policy (shipping policy), withdrawal_info (withdrawal information), imprint (imprint), accessibility (accessibility statement). |
| `page` | string, 1 to 200 characters or null | yes | A published page's id or address, or null for the standard one (the products list on the front, the standard page elsewhere). |

## Save menu {#save-menu}

`save_menu`

Makes a menu or replaces a menu's links, saved as the menu editor saves it: the store's own pages and articles by address, products by handle, categories and tags by slug, the store's links (front page, All products, account, cart, blog) and web addresses, never another store's. Each link's words in the main language and, where known, the others; a product link may leave them empty for its title. A menu shown on the site needs the owner's approval; a new one, or one shown nowhere, is saved at once. Read get_menus first. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#save-menu-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `menu` | string, 1 to 80 characters | no | The menu to change, by its id or name (get_menus); leave it out to make a new one. |
| `name` | string, 1 to 80 characters | no | A new menu's name, or a new name for the menu. |
| `items` | list of objects, at most 100 items | yes | Every link of the menu in order, replacing the ones there. |
| `items[].text` | string, at most 60 characters | no, default `""` | Its words in the site's main language (a product link may leave it empty for the product's title). |
| `items[].texts` | map of string to string, at most 60 characters | no, default `{}` | Its words in the site's other languages, by language code. |
| `items[].link` | one of 12 shapes, by `kind` | yes | Where it goes: home, products (All products), account, cart, blog, a page or article by its address (slug), a product by its handle, a category or tag by its slug, or a web address (url). |
| `items[].depth` | integer, 0 to 2 | no, default `0` | How deep under the link before it (0 at the top, at most 2). |
| `items[].new_tab` | boolean | no, default `false` |   |

**`items[].link` when `kind` is `home`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"home"` | yes |   |

**`items[].link` when `kind` is `products`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"products"` | yes |   |

**`items[].link` when `kind` is `account`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"account"` | yes |   |

**`items[].link` when `kind` is `cart`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"cart"` | yes |   |

**`items[].link` when `kind` is `product`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"product"` | yes |   |
| `items[].link.handle` | string, 1 to 200 characters | yes |   |

**`items[].link` when `kind` is `page`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"page"` | yes |   |
| `items[].link.slug` | string, at most 240 characters, matching `^[a-z0-9]+(?:-[a-z0-9]+)*(?:\/[a-z0-9]+(?:-[a-z0-9]+)*)*$` | yes |   |

**`items[].link` when `kind` is `category`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"category"` | yes |   |
| `items[].link.slug` | string, at most 80 characters, matching `^[a-z0-9]+(?:-[a-z0-9]+)*$` | yes |   |

**`items[].link` when `kind` is `tag`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"tag"` | yes |   |
| `items[].link.slug` | string, at most 80 characters, matching `^[a-z0-9]+(?:-[a-z0-9]+)*$` | yes |   |

**`items[].link` when `kind` is `blog`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"blog"` | yes |   |

**`items[].link` when `kind` is `article`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"article"` | yes |   |
| `items[].link.slug` | string, at most 80 characters, matching `^[a-z0-9]+(?:-[a-z0-9]+)*$` | yes |   |

**`items[].link` when `kind` is `blogCategory`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"blogCategory"` | yes |   |
| `items[].link.slug` | string, at most 80 characters, matching `^[a-z0-9]+(?:-[a-z0-9]+)*$` | yes |   |

**`items[].link` when `kind` is `url`**

| Field | Type | Required | Description |
|---|---|---|---|
| `items[].link.kind` | `"url"` | yes |   |
| `items[].link.url` | string, at most 1,000 characters | yes |   |

## List blogs {#list-blogs}

`list_blogs`

The store's blogs (Website, Blogs, D341): each one's name, address (the first at /blog, others at /blogs/{address}), Atom feed address, how comments are taken (off, held until a person approves them, or shown at once when they pass the spam check) and how many articles it has; and how many visitors' comments wait to be read. Read-only.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-blogs-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Blog comments {#blog-comments}

`blog_comments`

Visitors' comments on the store's articles in one state (waiting by default, or shown, spam, refused): how many there are in each, and for each its id, the article, when it was posted, its length and what the spam check found. A comment's words and name are a visitor's and are not given to you: the owner reads them on the Comments page. Read-only.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#blog-comments-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `status` | one of `pending`, `approved`, `spam`, `rejected` | no, default `"pending"` | pending: waiting to be read; approved: shown; spam; rejected: refused. |
| `limit` | integer, 1 to 50 | no, default `20` |   |

## Moderate blog comment {#moderate-blog-comment}

`moderate_blog_comment`

Shows (approve), refuses (reject) or marks as spam one visitor's comment, by its id from blog_comments, as the Comments page does. Only for a comment the owner has read and told you what to do with. Needs the owner's approval: an approved comment is shown on the store's site. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** idempotent

### Inputs {#moderate-blog-comment-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `comment` | string (uuid) | yes |   |
| `action` | one of `approve`, `reject`, `spam` | yes |   |

## Schedule article {#schedule-article}

`schedule_article`

Publishes an article's draft at a set time on the store's clock (`at`: YYYY-MM-DD HH:MM in the time zone of your instructions), as the editor's Schedule does: until then it is not on the site, in a list, the sitemap or the feed; the draft as it is at that time is published, within five minutes after it. `at` null cancels its schedule (the draft stays a draft). Refused while the draft has problems the accessibility checker blocks on, or is in a running A/B test. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#schedule-article-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `article` | string, 1 to 200 characters | yes | The article's id or address, from list_pages with type article. |
| `at` | string, at most 20 characters or null | yes | When to publish it, YYYY-MM-DD HH:MM on the store's clock; null to cancel its schedule. |

## List scheduled changes {#list-scheduled-changes}

`list_scheduled_changes`

What is scheduled to change on the store's site, and what did not happen (D340): each page, article, header or footer whose draft is published at a set time or whose version before is put back at a set time, and an installed theme planned to go live (and the theme before to come back), with the times on the store's clock and, for one that failed, the reason. Read-only.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-scheduled-changes-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Schedule site change {#schedule-site-change}

`schedule_site_change`

Schedules a change of the store's site for a set time on the store's clock, as the editor's Schedule and a theme's Make it live later do (D340): `kind` page, article, header or footer publishes that draft at `at` (the draft as it is then); `kind` theme makes an installed theme live at `at`. With `back_at`, the version before (the page as it was published before, or the theme live before) is put back then, unless someone changed it in between. `at` null cancels what is scheduled for it. Refused while the draft has problems the accessibility checker blocks on, while it is in a running A/B test, and for a theme that costs money the store has not agreed to pay. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#schedule-site-change-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `kind` | one of `page`, `article`, `header`, `footer`, `theme` | yes | What changes: a page, an article, a header, a footer, or an installed theme. |
| `target` | string, 1 to 200 characters | yes | The page's id or address (from list_pages), or the installed theme's id or name (from list_themes). |
| `at` | string, at most 20 characters or null | yes | When it goes live, YYYY-MM-DD HH:MM on the store's clock; null to cancel what is scheduled. |
| `back_at` | string, at most 20 characters or null | no | When to put the version before back, YYYY-MM-DD HH:MM, at least 10 minutes after `at`; left out or null: it stays. |

## List content types {#list-content-types}

`list_content_types`

The store's own kinds of content (Website, Content, D326), such as team members, questions and answers or locations: each type's key, name and web name (its entries' pages are at /{web name}/{entry} when it has pages), its fields (name, label, type, whether required, public or for staff only) with the one that is its title, and how many entries it has. Read-only.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-content-types-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## List entries {#list-entries}

`list_entries`

The entries of one content type, in the owner's order: each entry's id, its title in the main language, its address and whether it is a draft, published, or published with changes not yet published. Read-only.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-entries-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `type` | string, 1 to 60 characters | yes | The type's web name or key from list_content_types. |
| `search` | string, at most 100 characters | no | Only entries whose title holds these words. |
| `limit` | integer, 1 to 100 | no, default `50` | How many at most (1–100). |

## Get entry {#get-entry}

`get_entry`

One entry by its id from list_entries: its fields as words in the main language, its search texts and its state. Read-only.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#get-entry-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `entry` | string (uuid) | yes |   |

## Save entry {#save-entry}

`save_entry`

Writes an entry's draft, which no shopper sees until publish_entry: a new entry of a type, or changes to one by its id. Fields by their names from list_content_types; plain types only (text, numbers, yes or no, choices by their label, dates and the like): pictures, files, links and entries it points at are chosen in the admin editor. Text is written in the store's main language, without claims the store cannot back; null empties a field.

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#save-entry-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `type` | string, 1 to 60 characters | yes | The type's web name or key from list_content_types. |
| `entry` | string (uuid) | no | The entry's id from list_entries, to change it; leave it out for a new entry. |
| `address` | string, at most 120 characters | no | The end of a new entry's page address (lowercase letters, digits, hyphens); left out, it follows the title. |
| `values` | map of string, 1 to 80 characters to string, at most 8,000 characters or number or boolean or list of string, at most 200 characters, at most 100 items or null | yes | The field's name (or label) to its value; a checkbox field takes a list of choices, a yes-or-no field true or false, null empties it. |
| `seo_title` | string, at most 70 characters | no | The title search engines show, when it should differ from the entry's title. |
| `seo_description` | string, at most 160 characters | no | The description search engines show. |

## Publish entry {#publish-entry}

`publish_entry`

Publishes an entry by its id from list_entries: its draft goes on the site as it is (in grids and on its page when its type has pages). Refused while its title or a required field is empty. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** idempotent

### Inputs {#publish-entry-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `entry` | string (uuid) | yes |   |

## Unpublish entry {#unpublish-entry}

`unpublish_entry`

Takes an entry off the site by its id from list_entries, keeping its draft. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** destructive, idempotent

### Inputs {#unpublish-entry-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `entry` | string (uuid) | yes |   |

## Save content type {#save-content-type}

`save_content_type`

Makes a content type, or adds fields to one by its key from list_content_types: its name, its web name (fixed once an entry has been published), whether each entry gets a page of its own, and its fields, each with a label, a type, and choices for select, radio, button group and checkbox types. Fields are shown on the site unless you set access private. A field the type has already (by its label) is kept as it is; fields are never removed here. A new type's first text field is its title. Pictures, files, links and fields that point at entries are added in the admin editor. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#save-content-type-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `type` | string, 1 to 60 characters | no | The type's key or web name, to change it; leave it out for a new type. |
| `name` | string, 1 to 80 characters | yes | What its entries are called together, such as Team members. |
| `web_name` | string, at most 60 characters | no | Lowercase letters, digits and hyphens; left out, it follows the name. |
| `has_pages` | boolean | no | Each published entry gets a page of its own at /{web name}/{entry}. |
| `fields` | list of objects, at most 30 items | no, default `[]` |   |
| `fields[].label` | string, 1 to 80 characters | yes | What the field is called, such as Role. |
| `fields[].type` | one of `text`, `textarea`, `richText`, `number`, `measurement`, `email`, `url`, `phone`, `select`, `radio`, `buttons`, `checkbox`, `boolean`, `date`, `datetime`, `time`, `color` | no, default `"text"` | text, textarea (several lines), richText, number, measurement, email, url, phone, select, radio, buttons, checkbox, boolean, date, datetime, time or color. |
| `fields[].required` | boolean | no, default `false` | An entry is published only with it filled in. |
| `fields[].options` | list of string, 1 to 80 characters, at most 100 items | no | The choices, for select, radio, buttons and checkbox. |
| `fields[].units` | list of string, 1 to 12 characters, at most 20 items | no | The units to choose from, for a measurement. |
| `fields[].access` | one of `private`, `public` | no, default `"public"` | public: shown on the site; private: only staff. |

## List themes {#list-themes}

`list_themes`

The themes on offer (Settings, Design) with their presets and what making each live would cost the store (free, already the store's, or its price, charged now or when the store opens), and the store's theme library: each installed theme with whether it is live. Read it before suggesting a theme.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-themes-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Add theme {#add-theme}

`add_theme`

Adds a theme, or one of its presets, to the store's theme library without making it live, as Add to my themes does: visitors see nothing of it. Answers with its install id and the address where the person can see the store's own pages in it (try_theme). Use a theme's id and a preset's key from list_themes.

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#add-theme-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `theme` | string (uuid) | yes | The theme's id, from list_themes. |
| `preset` | string, 1 to 40 characters or null | no | One of the theme's presets by its key, from list_themes; left out, the theme's own look. |

## Design look {#design-look}

`design_look`

Designs a look of the store's own from the brand: its main colour (and, if you like, its background and text colours and the colour mode), heading and body fonts from Google Fonts' catalogue, and the named choices of Design settings (heading weight and case, button style and corners, card and field corners, width, header, product cards). Every other colour is worked out so all text reads in light and dark. It is added to the theme library, not live, with the live look's header, footer and product page; visitors see nothing until make_theme_live. Answers with the install id and the colours worked out.

- **Gate:** none: it runs when called
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#design-look-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `title` | string, 1 to 60 characters | yes | The look's name in the theme library, such as 'Fjord – our own'. |
| `start` | one of `current`, `minimal`, `warm`, `bold` | no, default `"current"` | Start from the live look (current) or a built-in template: minimal, warm or bold. |
| `accent` | string, matching `^#[0-9a-fA-F]{6}$` | yes | The brand's main colour, for buttons and highlights. |
| `background` | string, matching `^#[0-9a-fA-F]{6}$` | no | The page background of the light colours (or of the dark ones when mode is dark). |
| `text` | string, matching `^#[0-9a-fA-F]{6}$` | no | The main text colour over that background. |
| `mode` | one of `auto`, `light`, `dark` | no | auto follows the visitor's device; light or dark always. |
| `heading_font` | string, 1 to 100 characters | no | A font family from Google Fonts' catalogue for headings, such as 'Fraunces'. |
| `body_font` | string, 1 to 100 characters | no | A font family from Google Fonts' catalogue for text, such as 'Inter'. |
| `heading_weight` | one of `normal`, `medium`, `semibold`, `bold` | no |   |
| `heading_case` | one of `normal`, `upper` | no | normal, or upper for spaced capitals. |
| `button_style` | one of `filled`, `outline` | no |   |
| `button_corners` | one of `square`, `rounded`, `pill` | no |   |
| `card_corners` | one of `none`, `small`, `medium`, `large` | no |   |
| `field_corners` | one of `none`, `small`, `large` | no |   |
| `width` | one of `narrow`, `normal`, `wide` | no |   |
| `header_align` | one of `left`, `center` | no |   |
| `header_background` | one of `page`, `surface`, `accent`, `inverse` | no |   |
| `card_image` | one of `square`, `portrait`, `landscape` | no |   |
| `card_style` | one of `plain`, `bordered`, `raised` | no |   |

## Try theme {#try-theme}

`try_theme`

Where the person sees an installed theme on the store's own pages before it goes live, and where they customise it. Open the preview for them (open_admin_page) rather than describing a theme's look; the person judges it.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#try-theme-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `install` | string (uuid) | yes | An installed theme's id, from list_themes' `installed` (or add_theme's answer). |

## Make theme live {#make-theme-live}

`make_theme_live`

Makes a theme live, as Design settings does: an installed theme by its install id (with every change made to it), or a theme and preset from list_themes installed and made live at once. Visitors see its colours, fonts, header, footer and product page at once; the store's words, pages and products stay, and the theme it replaces is kept in the library. A premium theme the store does not have costs its price (list_themes says what). Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** idempotent

### Inputs {#make-theme-live-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `install` | string (uuid) | no | An installed theme's id, from list_themes' `installed`: switches the store to it, with every change made to it. |
| `theme` | string (uuid) | no | A theme's id, from list_themes, to install and make live at once (without trying it first). |
| `preset` | string, 1 to 40 characters or null | no | With `theme`: one of its presets by its key; left out, the theme's own look. |
| `approved_charge` | string, at most 80 characters | no | Never set this: the store writes it when the owner is asked, so the theme goes live at the price they were shown. |

## Redirect overview {#redirect-overview}

`redirect_overview`

The store's redirects and its missing addresses (D168): how many redirects it has (its own, the ones made when a product, category or tag changed address, and pages' and articles'), what is left of the limit of manual redirects, and the addresses shoppers and search engines asked for that the store did not have in the last 7, 30 or 90 days, most asked first, each with up to three live pages it may be sent to, found in code from the store's own pages. Every number is counted by the store and is at least what happened (a request answered from a cache is not seen): repeat it, say 'at least', never add one and never name an address it did not give. Read-only. To redirect an address call add_redirect (the owner's yes first); to edit, delete or import redirects the owner uses the Redirects page.

- **Gate:** none: it runs when called
- **Permission:** `website:read`
- **Scope:** [`website:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#redirect-overview-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `days` | `7` or `30` or `90` | no, default `30` | The report's window: the last 7, 30 or 90 days. |
| `limit` | integer, 1 to 20 | no, default `10` | How many at most (1–20). |

## Add redirect {#add-redirect}

`add_redirect`

Adds a permanent redirect (308) so that an address that no longer exists sends visitors and search engines to a page that does, in every country and language of the store. `from` is the old address as a path on the store (such as /collections/shoes or /old-page, with no country in front: a redirect applies in every country) and `to` the page it should go to (a path on the store such as /p/running-shoes). Use an address from redirect_overview or one the owner named: never invent one. It never replaces a live page, a cart or a checkout address and never goes to another website, and a loop is refused with the reason. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#add-redirect-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `from` | string, 1 to 500 characters | yes | The old address, as a path on the store, such as /collections/shoes. |
| `to` | string, 1 to 2,000 characters | yes | Where it should go: a path on the store, such as /p/running-shoes. |

## Unpublish page {#unpublish-page}

`unpublish_page`

Takes a published page or article off the site; its draft is kept. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `website:write`
- **Scope:** [`website:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** destructive, idempotent

### Inputs {#unpublish-page-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `page` | string (uuid) | yes |   |
| `type` | one of `page`, `article` | no, default `"page"` |   |

---

https://docs.kaizenaflow.com/reference/mcp/website · made from the API contract 1.57
