Koskamo

Dotsy MCP

An official MCP server provided by Dotsy that enables AI agents to build, host, edit, and publish static websites. It supports importing existing sites, creating new ones, managing custom domains, handling forms, and optimizing SEO, all integrated directly into AI assistants like Claude and ChatGPT.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Dotsy MCP logo, by DotsyVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-30Operated by Dotsy
You need:Add Dotsy to your AI (one URL, no account needed)
MCP endpoint (Streamable HTTP)
https://mcp.dotsy.ai/mcp
Vendor documentation

What its tools do

124 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

124 of 124 have a description · 124 of 124 declare behavior hints · 9 of 123 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to dotsy.ai ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 3 of 3 checks passed in 30 days

What you can do with it

  • Import an existing website from a URL to Dotsy
  • Build a new static site with AI assistance
  • Connect a custom domain and configure SSL
  • Add forms and optimize page SEO

Source and maintenance

Vendor evidenceRegistry 0.7.6

Protocol and capabilities

Server
dotsy 0.9.50
MCP protocol negotiated in check
2025-11-25
Tools
124 advertised
Resources
10 advertised
Resource templates
0 advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "resources": {
    "listChanged": true
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Guest: start_site → guestToken on draft tools → claim_site. Signed-in: OAuth Bearer. One site slug per call; optional context (activity log). Writes stay draft until publish_site (handoff required; feedback optional). publicUrl works when liveReady; draft preview: start_edit_session.draftPreviewUrl (not draftUrl). Uploads are live after publish. Bulk edits: apply_changeset or dotsy push, not loops of put_content/put_route. Page body >60KB: get_skill('large-content'). Page re-key: rename_content then publish_site. Page URL: rename_page. Site hostname: rename_site. After writes: get_site_tasks, then verify_page, before publish_site. Import/clone: get_skill('intake'), get_skill('clone'); preview before structure_*. Publish: get_draft_status (publish_confirm) + get_skill('verify'); rules on get_site.guidance / get_skill('guidance'). Repeated block: share_section; fragment syntax: get_skill('fragments'). Popups, bars, newsletter boxes: get_skill('popups'), then put_popup. Cookie banner: update_site cookieBanner. Changes since last session: get_activity; revert_change undoes one. siteState: site state + next step. needs = values to ask the person; fill = values you fill from the result.

Tools

124 advertised

create_site
Advertised by the server during the last successful anonymous check.

Create empty site; seeds brief. Globally taken slugs auto-suffix to `{slug}-{adjective}-{noun}` (default); pass onSlugTaken:"fail" to get a 409 instead of a renamed site.

create_site input schema
{
  "type": "object",
  "required": [
    "slug"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1
    },
    "title": {
      "type": "string",
      "maxLength": 200
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "purpose": {
      "type": "string",
      "maxLength": 280,
      "minLength": 5
    },
    "workspace": {
      "type": [
        "string",
        "null"
      ],
      "description": "Workspace id or slug; only with several workspaces."
    },
    "editingMode": {
      "enum": [
        "live",
        "staged"
      ],
      "type": "string",
      "description": "How the editor's Save behaves. 'live' (default) publishes each save; 'staged' keeps drafts until publish_site. Prefer 'staged' when handing the editor to a person (start_edit_session → draftEditorUrl). API writes always stage."
    },
    "onSlugTaken": {
      "enum": [
        "fail",
        "auto-suffix",
        "merge"
      ],
      "type": "string",
      "default": "auto-suffix"
    },
    "keyConvention": {
      "enum": [
        "flat",
        "directory"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false
}
create_site annotations
{
  "title": "Create site",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_site
Advertised by the server during the last successful anonymous check.
Advertised read-only

Site detail, stats, publicUrl, brief head (default-on), readiness flags. pages[] is a ~25-entry head (stats.pages = true count); pass pages: true for the full array (≤1000), or list_content/get_site_manifest. 200+ pages: list_pages (cursor) or get_site_manifest for the full route set.

get_site input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "brief": {
      "type": "boolean",
      "description": "Include parsed brief head (default true)."
    },
    "pages": {
      "type": "boolean",
      "description": "Full pages[] instead of the ~25-entry head (capped at 1000 either way). Default false."
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    }
  },
  "additionalProperties": false
}
get_site annotations
{
  "title": "Site details",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
update_brief
Advertised by the server during the last successful anonymous check.
Advertised destructive

Update the site brief (`_intent/site.md`), or a page brief when `page` is set.

update_brief input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "body": {
      "type": "string",
      "maxLength": 50000,
      "description": "Replace narrative body (site ≤50k chars; page ≤10k)."
    },
    "goal": {
      "type": "string",
      "maxLength": 4000,
      "description": "Current goal (site ≤4k chars; page ≤2k)."
    },
    "head": {
      "type": "object",
      "properties": {
        "kind": {
          "anyOf": [
            {
              "enum": [
                "exploration",
                "production"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "voice": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 500
        },
        "design": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "hero": {
              "type": "string",
              "maxLength": 80
            },
            "type": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              },
              "maxItems": 6
            },
            "layout": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 80
            },
            "palette": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              },
              "maxItems": 8
            },
            "direction": {
              "type": "string",
              "maxLength": 80
            }
          },
          "description": "Site: palette, type, layout only. Page: direction, hero only.",
          "additionalProperties": false
        },
        "purpose": {
          "type": "string",
          "maxLength": 280
        },
        "audience": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 200
        },
        "business": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "url": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 300
            },
            "logo": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 300
            },
            "name": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 120,
              "minLength": 1
            },
            "type": {
              "anyOf": [
                {
                  "enum": [
                    "Organization",
                    "LocalBusiness",
                    "ProfessionalService",
                    "Store",
                    "Restaurant",
                    "Dentist",
                    "MedicalBusiness",
                    "HomeAndConstructionBusiness"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "email": {
              "type": [
                "string",
                "null"
              ],
              "format": "email",
              "maxLength": 120
            },
            "hours": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 200
            },
            "phone": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 40
            },
            "sameAs": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string",
                "maxLength": 300
              },
              "maxItems": 8
            },
            "address": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "city": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 120
                },
                "region": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 120
                },
                "street": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 120
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 120
                },
                "postalCode": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 120
                }
              },
              "additionalProperties": false
            },
            "areaServed": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 200
            },
            "description": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 300
            },
            "foundingYear": {
              "type": [
                "integer",
                "null"
              ],
              "maximum": 2100,
              "minimum": 1000
            }
          },
          "additionalProperties": false
        },
        "sections": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string",
            "maxLength": 60
          },
          "maxItems": 20
        },
        "priorities": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "seo": {
              "anyOf": [
                {
                  "enum": [
                    "must",
                    "nice",
                    "skip"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "design": {
              "anyOf": [
                {
                  "enum": [
                    "must",
                    "nice",
                    "skip"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "mobile": {
              "anyOf": [
                {
                  "enum": [
                    "must",
                    "nice",
                    "skip"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "analytics": {
              "anyOf": [
                {
                  "enum": [
                    "must",
                    "nice",
                    "skip"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        },
        "editingModel": {
          "anyOf": [
            {
              "enum": [
                "ai",
                "simple-editor",
                "creator"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "description": "Head fields to merge; null clears a field. Site: all fields (purpose ≥5 chars). Page: purpose and design only. business: null clears the block, address is replaced whole (live at the next publish). `authors` answers 400 `authors_moved`: they are items of the Authors collection (put_post at authors/<slug>.html)."
    },
    "page": {
      "type": "string",
      "description": "Content key of a page brief (`_intent/pages/<key>.md`); omit for the site brief."
    },
    "site": {
      "type": "string"
    },
    "notes": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "object",
          "properties": {
            "seo": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 4000
            },
            "design": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 4000
            },
            "content": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 4000
            }
          },
          "additionalProperties": false
        }
      ],
      "description": "Site: free-form ## Notes string (≤4k) OR per-section notes object for Design system / Content & CMS / SEO (null clears one). Page brief: string only (≤2k)."
    },
    "rules": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "card",
          "text"
        ],
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z0-9-]{2,40}$"
          },
          "card": {
            "enum": [
              "intent",
              "design",
              "content",
              "seo"
            ],
            "type": "string"
          },
          "text": {
            "type": "string",
            "maxLength": 160,
            "minLength": 1
          },
          "check": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "type",
                      "max"
                    ],
                    "properties": {
                      "max": {
                        "type": "integer",
                        "maximum": 300,
                        "minimum": 10
                      },
                      "type": {
                        "type": "string",
                        "const": "title-max"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "required": [
                      "type",
                      "suffix"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "title-suffix"
                      },
                      "suffix": {
                        "type": "string",
                        "maxLength": 60,
                        "minLength": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "required": [
                      "type",
                      "min",
                      "max"
                    ],
                    "properties": {
                      "max": {
                        "type": "integer",
                        "maximum": 1000,
                        "minimum": 1
                      },
                      "min": {
                        "type": "integer",
                        "maximum": 1000,
                        "minimum": 0
                      },
                      "type": {
                        "type": "string",
                        "const": "description-length"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "one-h1"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "required": [
                      "type",
                      "words"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "banned-words"
                      },
                      "words": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 40,
                          "minLength": 1
                        },
                        "maxItems": 50,
                        "minItems": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "image-alt"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "required": [
                      "type",
                      "colors"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "allowed-colors"
                      },
                      "colors": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$"
                        },
                        "maxItems": 24,
                        "minItems": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "required": [
                      "type",
                      "fonts"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "allowed-fonts"
                      },
                      "fonts": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 60,
                          "minLength": 1
                        },
                        "maxItems": 12,
                        "minItems": 1
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "has": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^(?:[a-z][a-z0-9-]*)?(?:[#.][\\w-]+)*$",
                          "maxLength": 80,
                          "minLength": 1
                        },
                        "maxItems": 10,
                        "minItems": 1
                      },
                      "type": {
                        "type": "string",
                        "const": "elements"
                      },
                      "lacks": {
                        "$ref": "#/properties/rules/items/properties/check/anyOf/0/anyOf/8/properties/has"
                      }
                    },
                    "additionalProperties": false
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "level": {
            "enum": [
              "block",
              "warn"
            ],
            "type": "string"
          },
          "pages": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string",
              "pattern": "^\\/[^\\s?#]*$",
              "maxLength": 200
            },
            "maxItems": 20,
            "minItems": 1
          },
          "locked": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "maxItems": 30,
      "description": "Rules & guidelines, upsert by id (omitted fields kept; null clears check or pages). A check makes a Rule (block stops agents, warn reports); none = a Guideline. pages: only these paths (* = any). Only a person sets locked."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    },
    "removeRules": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 30,
      "description": "Ids of rules or guidelines to remove (site brief only)."
    },
    "appendHandoff": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1,
      "description": "Hand-off log line (site brief only)."
    }
  },
  "additionalProperties": false
}
update_brief annotations
{
  "title": "Update site brief",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
get_plan
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read-only workspace plan and pooled usage; pass slug for this site's add-ons. Call before a large build.

get_plan input schema
{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "Optional site slug — adds a per-site add-ons segment to the summary."
    }
  },
  "additionalProperties": false
}
get_plan annotations
{
  "title": "Workspace plan and usage",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_analytics
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read-only traffic overview (default) or full breakdowns via include[]; optional bot id for crawler page drill-down. Breakdown counts (pages, sources, countries…) are page views, not visitors.

get_analytics input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "bot": {
      "type": "string",
      "description": "Crawler bot id (e.g. googlebot, gptbot) → that bot's top crawled pages under `crawlerBotPages`."
    },
    "path": {
      "type": "string",
      "description": "Only this section, e.g. /tools (matches /tools and /tools/*, not /toolsx): totals, pages (up to 50), sources, countries. No goals/crawlers/tests."
    },
    "site": {
      "type": "string"
    },
    "range": {
      "enum": [
        "7d",
        "30d",
        "90d"
      ],
      "type": "string",
      "description": "Time window; default 30d."
    },
    "include": {
      "type": "array",
      "items": {
        "enum": [
          "pages",
          "sources",
          "countries",
          "devices",
          "browsers",
          "os",
          "utm",
          "goals",
          "series",
          "crawlers",
          "experiments",
          "events",
          "helpful",
          "all"
        ],
        "type": "string"
      },
      "description": "Full breakdown sections to add under `detail`: pages, sources, countries, devices, browsers, os, utm, goals, series, crawlers, experiments, events, helpful (all-time \"Was this helpful?\" yes/no per page) — or 'all'. Omit for the overview only."
    }
  },
  "additionalProperties": false
}
get_analytics annotations
{
  "title": "Site analytics",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
set_analytics_provider
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Connect an analytics provider (GA4, Plausible, Fathom, Umami) or remove it (provider 'none'). dotsy adds its script to every live page's <head>, no publish needed. One per site; use this, not a pasted gtag snippet. Other tags (GTM, ad pixels, Clarity, verification <meta>): set_custom_code.

set_analytics_provider input schema
{
  "type": "object",
  "required": [
    "site",
    "provider"
  ],
  "properties": {
    "host": {
      "type": "string",
      "description": "Umami only: https origin of your Umami instance."
    },
    "site": {
      "type": "string"
    },
    "domain": {
      "type": "string",
      "description": "Plausible only: the site domain registered in Plausible, e.g. example.com."
    },
    "siteId": {
      "type": "string",
      "description": "Fathom only: site ID (uppercase letters/digits)."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "provider": {
      "enum": [
        "ga4",
        "plausible",
        "fathom",
        "umami",
        "none"
      ],
      "type": "string"
    },
    "websiteId": {
      "type": "string",
      "description": "Umami only: website ID (UUID)."
    },
    "loadTiming": {
      "enum": [
        "after-load",
        "immediate"
      ],
      "type": "string",
      "description": "GA4: immediate counts every visit; after-load is faster but misses visits under ~1 s without interaction. Default: after-load."
    },
    "measurementId": {
      "type": "string",
      "description": "GA4 only: measurement ID, e.g. G-ABC123XYZ."
    }
  },
  "additionalProperties": false
}
set_analytics_provider annotations
{
  "title": "Set analytics provider",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}
get_custom_code
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read site-wide custom code: `draft` (what the next publish puts live) and `published` (live now) for head (before </head>) and body (before </body>), plus `pending`, `runOn`, `maxChars`.

get_custom_code input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_custom_code annotations
{
  "title": "Site custom code",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
set_custom_code
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Site-wide custom code: `head` before </head>, `body` before </body>, every page. Draft until publish_site (a live-mode site's dashboard publishes only the code); never runs in the editor. ≤20,000 chars per box; `warnings` flags likely mistakes (unclosed <script>, <html>/<head>/<body>, canonical or robots tag, GA4 already connected) without rejecting. Send only the boxes you change; "" clears one. `runOn` ('live' default, or 'live-and-preview') applies at once; draft-only agents can't set it. For GTM, Clarity, ad pixels, chat widgets, verification tags; plain GA4/Plausible/Fathom/Umami: set_analytics_provider.

set_custom_code input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "body": {
      "type": "string",
      "maxLength": 20000,
      "description": "Code for before </body> on every page. \"\" clears it."
    },
    "head": {
      "type": "string",
      "maxLength": 20000,
      "description": "Code for before </head> on every page. \"\" clears it."
    },
    "site": {
      "type": "string"
    },
    "runOn": {
      "enum": [
        "live",
        "live-and-preview"
      ],
      "type": "string",
      "description": "Where it runs: 'live' (live site only) or 'live-and-preview'. Applies at once."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
set_custom_code annotations
{
  "title": "Set site custom code",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}
set_site_icon
Advertised by the server during the last successful anonymous check.
Advertised destructive

Set the favicon from a square image asset. Draft until publish.

set_site_icon input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "remove": {
      "type": "boolean"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "variant": {
      "enum": [
        "default",
        "dark"
      ],
      "type": "string"
    },
    "assetKey": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
set_site_icon annotations
{
  "title": "Set site icon",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
update_site
Advertised by the server during the last successful anonymous check.
Open-world

Update site settings: title, keyConvention, editingMode, signature ("Made with dotsy" badge), trailingSlash, ownSeoFiles, aiTrain, agentSearch, acceptIssues, the language settings, and cookieBanner (draft until publish; get_site shows it). Each field says when it applies. Slug is the hostname — use rename_site.

update_site input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "title": {
      "type": "string",
      "maxLength": 200
    },
    "aiTrain": {
      "type": "boolean",
      "description": "false asks AI trainers to skip the site (default true). Live now."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "decline": {
      "type": "array",
      "items": {
        "enum": [
          "fix_issues",
          "confirm_brief",
          "design_guide",
          "design_drift",
          "own_domain",
          "speed_test",
          "all"
        ],
        "type": "string"
      },
      "description": "siteState.next.step ids the person declined; all = no more suggestions."
    },
    "hreflang": {
      "enum": [
        "auto",
        "off"
      ],
      "type": "string",
      "description": "auto (default) links translations for search engines; off stops. At publish."
    },
    "formWords": {
      "type": [
        "object",
        "null"
      ],
      "description": "Form words by language: {ja:{sending,error,success}}. Merged; null removes.",
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code"
        ],
        "properties": {
          "code": {
            "type": "string",
            "maxLength": 35,
            "minLength": 1,
            "description": "e.g. \"es\", \"pt-BR\"."
          },
          "image": {
            "type": "string",
            "maxLength": 300,
            "description": "Flag asset key."
          },
          "label": {
            "type": "string",
            "maxLength": 60
          },
          "prefix": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 60,
            "description": "Folder like \"/es\" (default \"/\"+code); null = none."
          },
          "publish": {
            "type": "boolean",
            "description": "false hides it from links and the switcher; pages still serve."
          }
        },
        "additionalProperties": false
      },
      "maxItems": 19,
      "description": "The OTHER languages (not the main one); replaces the list. Needs a main language. At publish."
    },
    "signature": {
      "type": "object",
      "properties": {
        "mark": {
          "enum": [
            "logo",
            "dot"
          ],
          "type": "string"
        },
        "side": {
          "enum": [
            "right",
            "left"
          ],
          "type": "string"
        },
        "reveal": {
          "enum": [
            "pill",
            "seal",
            "eye"
          ],
          "type": "string",
          "description": "seal: stamp on hover; pill: label on hover; eye: always open."
        },
        "enabled": {
          "type": "boolean",
          "description": "Show the badge on published pages."
        }
      },
      "description": "\"Made with dotsy\" badge (defaults: mark dot, reveal seal, side right). Live at once.",
      "additionalProperties": false
    },
    "agentSearch": {
      "type": "boolean",
      "description": "false: no /.well-known/search. Live now."
    },
    "editingMode": {
      "enum": [
        "live",
        "staged"
      ],
      "type": "string",
      "description": "live (default): each editor save publishes. staged: drafts wait for publish_site."
    },
    "ownSeoFiles": {
      "type": "boolean",
      "description": "Use the site's own robots.txt even if it blocks everything, and its sitemap.xml. At publish."
    },
    "acceptIssues": {
      "type": "boolean",
      "description": "true keeps the remaining SEO/page-health warnings; false undoes. Needs verify_page first; ask first."
    },
    "cookieBanner": {
      "type": "object",
      "properties": {
        "css": {
          "type": [
            "string",
            "null"
          ],
          "description": "Banner CSS (the template's style block); null clears."
        },
        "look": {
          "type": [
            "object",
            "null"
          ],
          "description": "{accent, accentText, text, bg, link (#hex or rgb()), font, radius e.g. 8px}."
        },
        "mode": {
          "enum": [
            "always",
            "smart",
            "off"
          ],
          "type": "string",
          "description": "smart asks in the EEA, UK, CH, Québec, unknown country and GPC, elsewhere a notice that sets the cookie and offers Opt out; always asks everyone; off = your own cookie tool."
        },
        "text": {
          "type": [
            "object",
            "null"
          ],
          "description": "{headline ≤60, body ≤240 (must name dotsy, the host that sets the cookie), accept, reject, optOut ≤24}."
        },
        "holds": {
          "type": [
            "object",
            "null"
          ],
          "description": "{trackerId or host:x.com: statistics|marketing|run}; run = don't hold; null removes.",
          "additionalProperties": {
            "anyOf": [
              {
                "enum": [
                  "statistics",
                  "marketing",
                  "run"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "words": {
          "type": [
            "object",
            "null"
          ],
          "description": "Other languages: {de:{headline,body,notice,accept,reject,save,optOut}}.",
          "additionalProperties": {
            "type": [
              "object",
              "null"
            ]
          }
        },
        "design": {
          "enum": [
            "minimal",
            "standard",
            "maximal"
          ],
          "type": "string"
        },
        "template": {
          "enum": [
            "reset",
            "default"
          ],
          "type": "string",
          "description": "reset = restart from design; default = drop custom template."
        },
        "alsoAskIn": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 30,
          "description": "Extra places [\"BR\",\"US-CA\"]; replaces the list."
        },
        "privacyUrl": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 300,
          "description": "/path or https:// link."
        }
      },
      "description": "Send only what changes; null resets a field. Relay `issues` as written; Reject stays a full same-size button.",
      "additionalProperties": false
    },
    "keyConvention": {
      "enum": [
        "flat",
        "directory"
      ],
      "type": "string"
    },
    "trailingSlash": {
      "enum": [
        "ignore",
        "never",
        "always"
      ],
      "type": "string",
      "description": "ignore (default) serves /blog and /blog/; never 301s /blog/ to /blog; always the reverse. Live at once."
    },
    "defaultLanguage": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 35,
      "description": "Main language, e.g. \"en\". null removes every language setting. At publish."
    }
  },
  "additionalProperties": false
}
update_site annotations
{
  "title": "Update site settings",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
rename_site
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Rename the site slug (host {slug}.dotsy.site). Owner-only; use the returned slug. Published: the old slug redirects on the API (301 reads, 308 writes) and the old host 301s, reserved until delete or rename-back. Never published: the old slug 404s and is released. Stored HTML URLs are not rewritten (find_replace).

rename_site input schema
{
  "type": "object",
  "required": [
    "site",
    "newSlug"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "newSlug": {
      "type": "string",
      "minLength": 1,
      "description": "New slug"
    }
  },
  "additionalProperties": false
}
rename_site annotations
{
  "title": "Rename site address",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}
publish_site
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Publish draft to live when the person asked (not for "clean up"). handoff required; feedback optional. Warnings (form_unwired, store, SEO) are advisory. Site-check errors return publish_issues; use publishWithIssues only after they have seen the errors. If a fix needs text or a link target you don't know, ask the user.

publish_site input schema
{
  "type": "object",
  "required": [
    "site",
    "handoff"
  ],
  "properties": {
    "mine": {
      "type": "boolean",
      "description": "Publish only your pending changes; not with pages/onlyReady."
    },
    "site": {
      "type": "string"
    },
    "pages": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 50,
      "description": "Publish only these pages (≤50 route paths, e.g. /pricing) after rules_not_fully_checked; publish the rest in more batches."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "handoff": {
      "type": "string",
      "minLength": 1,
      "description": "One sentence: decisions, preferences, or open threads for the next session (appended to the brief)."
    },
    "feedback": {
      "type": "object",
      "required": [
        "category",
        "impactPercent",
        "title"
      ],
      "properties": {
        "title": {
          "type": "string"
        },
        "category": {
          "enum": [
            "missing_tool",
            "blocking_error",
            "extra_round_trips",
            "confusing_response",
            "workaround",
            "other"
          ],
          "type": "string"
        },
        "findings": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "category",
              "impactPercent",
              "title"
            ],
            "properties": {
              "title": {
                "type": "string"
              },
              "category": {
                "$ref": "#/properties/feedback/properties/category"
              },
              "description": {
                "type": "string"
              },
              "operationId": {
                "type": "string"
              },
              "impactPercent": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1
              },
              "suggestedImprovement": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "maxItems": 20
        },
        "description": {
          "type": "string"
        },
        "impactPercent": {
          "type": "integer",
          "maximum": 100,
          "minimum": 1
        },
        "suggestedImprovement": {
          "type": "string"
        }
      },
      "description": "Optional session feedback; tool intents are attached automatically.",
      "additionalProperties": false
    },
    "onlyReady": {
      "type": "boolean",
      "description": "Publish only changes marked ready (server hashes); not with pages. Skips the publish_confirm fingerprint."
    },
    "openItems": {
      "enum": [
        "fix",
        "later",
        "declined"
      ],
      "type": "string",
      "description": "openItems: ignored. The owner's own choice is recorded on their dashboard."
    },
    "publishWithIssues": {
      "type": [
        "string",
        "boolean"
      ],
      "description": "The publish_issues code (see the tool description). true does not work."
    },
    "acknowledgeSeoWarnings": {
      "type": "boolean",
      "description": "Only satisfies the brief seo=must block, never publish_issues."
    },
    "confirmedDraftFingerprint": {
      "type": "string",
      "description": "Required when get_draft_status returned requiredDecision (publish_confirm): its current fingerprint."
    }
  },
  "additionalProperties": false
}
publish_site annotations
{
  "title": "Publish site",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
get_site_tasks
Advertised by the server during the last successful anonymous check.
Advertised read-only

What needs fixing on a site, from stored checks. Call after writes, before publish_site.

get_site_tasks input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_site_tasks annotations
{
  "title": "Site open tasks",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_draft_status
Advertised by the server during the last successful anonymous check.
Advertised read-only

Pending draft changes: content keys and routes with status. May include requiredDecision (publish_confirm) before publish_site.

get_draft_status input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "owners": {
      "type": "boolean",
      "description": "Add changedBy per staged key."
    }
  },
  "additionalProperties": false
}
get_draft_status annotations
{
  "title": "Draft status",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
review_changes
Advertised by the server during the last successful anonymous check.

Review queue: what changed and isn't live yet. list → get one item (hidden changes; bodyChanged false = title/meta/route only) → mark_ready / unmark (≤50 ids). Then publish_site onlyReady:true. Drafts-only sites: a person marks.

review_changes input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "by": {
      "type": "string",
      "minLength": 1,
      "description": "everyone (default), me, both, or a user id"
    },
    "id": {
      "type": "string",
      "description": "get: item id from list (p:/path, s:key, m:menus)"
    },
    "all": {
      "type": "boolean",
      "description": "unmark: clear every ready mark"
    },
    "ids": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 50,
      "description": "mark_ready / unmark: item ids from list (≤50)"
    },
    "diff": {
      "type": "boolean",
      "description": "get: include first diff rows"
    },
    "site": {
      "type": "string"
    },
    "state": {
      "enum": [
        "all",
        "ready",
        "stale",
        "not_ready"
      ],
      "type": "string",
      "description": "list filter (default all)"
    },
    "action": {
      "enum": [
        "list",
        "get",
        "mark_ready",
        "unmark"
      ],
      "type": "string",
      "default": "list",
      "description": "list (default) · get one item · mark_ready · unmark"
    },
    "cursor": {
      "type": "string",
      "description": "list pagination (full only)"
    },
    "detail": {
      "enum": [
        "summary",
        "full"
      ],
      "type": "string",
      "description": "list detail (default summary)"
    },
    "dryRun": {
      "type": "boolean",
      "description": "mark_ready / unmark: preview only"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
review_changes annotations
{
  "title": "Review changes queue",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
discard_drafts
Advertised by the server during the last successful anonymous check.
Advertised destructive

Permanently discard unpublished drafts: all (omit key/keys/routes/menus), one key, menus:true (menu draft) or keys/routes. Only when the person asked to discard or undo; "clean up" is not that. First call changes nothing and returns what would be lost plus a confirm; ask the person, then repeat with it.

discard_drafts input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "key": {
      "type": "string",
      "minLength": 1
    },
    "keys": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "site": {
      "type": "string"
    },
    "menus": {
      "type": "boolean",
      "const": true
    },
    "routes": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "confirm": {
      "type": "string",
      "description": "Only after the person agreed."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
discard_drafts annotations
{
  "title": "Discard drafts",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
delete_site
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Permanently delete site; confirmSlug must equal slug.

delete_site input schema
{
  "type": "object",
  "required": [
    "site",
    "confirmSlug"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "confirmSlug": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
delete_site annotations
{
  "title": "Delete site",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}
bulk_put_content
Advertised by the server during the last successful anonymous check.
Advertised destructive

Stage many content keys (pages, layouts, fragments). Content only — not routes or assets. Each body ≤60KB and the whole call ≤80KB; larger pages use stage_content_chunk, dotsy push, or PUT content-raw. May queue above the inline threshold.

bulk_put_content input schema
{
  "type": "object",
  "required": [
    "site",
    "content"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "key",
          "body"
        ],
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "type": "string"
          },
          "contentType": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "maxItems": 10,
      "minItems": 1
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
bulk_put_content annotations
{
  "title": "Save content in bulk",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
get_site_manifest
Advertised by the server during the last successful anonymous check.
Advertised read-only

Content keys + hashes only (optional routes=true) — static files live in list_assets, not manifest. Diff keys+hashes before apply_changeset; stage only changed bodies.

get_site_manifest input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "mode": {
      "enum": [
        "published",
        "draft"
      ],
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "maximum": 1000,
      "minimum": 1
    },
    "cursor": {
      "type": "string"
    },
    "routes": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
get_site_manifest annotations
{
  "title": "Site manifest",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
find_replace
Advertised by the server during the last successful anonymous check.
Advertised destructive

Case-insensitive find→replace across pages in one staged commit. Batch all replacements into ONE call; never run find_replace in parallel on the same key (per-key conflict). find/replace ≤60KB.

find_replace input schema
{
  "type": "object",
  "required": [
    "site",
    "find",
    "replace"
  ],
  "properties": {
    "find": {
      "type": "string",
      "minLength": 1
    },
    "keys": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "replace": {
      "type": "string"
    },
    "expectPerKey": {
      "type": "integer",
      "minimum": 1
    }
  },
  "additionalProperties": false
}
find_replace annotations
{
  "title": "Find and replace",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
search_content
Advertised by the server during the last successful anonymous check.
Advertised read-only

Find pages containing a phrase (grep without reading bodies). Requires do-sqlite — graduate_site first if search_unavailable.

search_content input schema
{
  "type": "object",
  "required": [
    "site",
    "q"
  ],
  "properties": {
    "q": {
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "maximum": 200,
      "minimum": 1
    }
  },
  "additionalProperties": false
}
search_content annotations
{
  "title": "Search content",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
graduate_site
Advertised by the server during the last successful anonymous check.
Advertised destructive

Enable site search & collections (kv → do-sqlite), one-way. Unlocks search_content, collection indexes, visitor /__paige/search, moves an R2 form ledger into SiteDb. 409 blocked: `reason` names the gate: unsupported backend (never overridable); strictDrafts (default true) on unpublished drafts or unrecovered KV rows; or an incomplete-looking KV snapshot, the only gate force:true overrides (judge `audit` counts first). Anything outside the frozen snapshot is unreachable afterwards.

graduate_site input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "force": {
      "type": "boolean",
      "description": "Proceed past the incomplete-KV-snapshot 409 only (not unsupported-backend or strictDrafts). Read the blocked `reason` + `audit` first: rows outside the snapshot are lost for good. Default false."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "strictDrafts": {
      "type": "boolean",
      "description": "Block on unpublished drafts or unrecovered KV rows (default true; publish/discard first, or false to proceed)."
    }
  },
  "additionalProperties": false
}
graduate_site annotations
{
  "title": "Enable search and collections",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
apply_changeset
Advertised by the server during the last successful anonymous check.
Advertised destructive

Stage writes[] + deletes[] in one call; attach routes via writes[].route. writes[].ifMatch (hash from get_site_manifest; "" = must not exist) guards each key (a delete takes { key, ifMatch } too); atomic:true makes one stale key write nothing (409 changeset_conflict). At most 10 writes; each body ≤60KB and the call ≤80KB. Larger new pages: stage_content_chunk then writes[].bodyStaging, or dotsy push / PUT content-raw.

apply_changeset input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "atomic": {
      "type": "boolean",
      "description": "All or nothing: every writes[].ifMatch and deletes[].ifMatch is checked before anything is written. One stale key writes nothing and the call fails with 409 changeset_conflict listing `conflicts`. Default: a stale write is skipped and listed, the rest apply."
    },
    "writes": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "key"
        ],
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "type": "string"
          },
          "route": {
            "type": "object",
            "required": [
              "path",
              "input"
            ],
            "properties": {
              "path": {
                "type": "string",
                "minLength": 1
              },
              "input": {
                "type": "object",
                "properties": {
                  "lang": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Page language, e.g. \"es\", \"pt-BR\". null clears (folder or main language applies)."
                  },
                  "vars": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "layout": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Layout NAME, bare (\"default\" for layouts/default.html), not the file key. Must already exist (400 layout_not_found). null removes it."
                  },
                  "noindex": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "Exclude from sitemap/RSS; inject noindex meta (0.69)."
                  },
                  "purpose": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contentKey": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "minLength": 1,
                    "description": "Explicit content key (default: path-derived). null restores the default (undoes a prior set on PATCH)."
                  },
                  "experiment": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "required": [
                      "id",
                      "name",
                      "status",
                      "variants"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[a-z0-9-]+$",
                        "description": "Stable experiment slug — cookie namespace; unique per site forever."
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 80,
                        "minLength": 1
                      },
                      "goalId": {
                        "type": "string",
                        "minLength": 1,
                        "description": "Optional dotsy conversion goal; omit when tracking in external analytics."
                      },
                      "status": {
                        "enum": [
                          "draft",
                          "running",
                          "ended"
                        ],
                        "type": "string"
                      },
                      "endedAt": {
                        "type": "string"
                      },
                      "handsOff": {
                        "type": "boolean",
                        "description": "Hands-off mode (0.56e M4): the daily sweep may auto-promote a ≥95% winner or auto-end keep-A after 30 days. Prefer start_test; kept so route PATCH round-trips don't strip it."
                      },
                      "variants": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "weight",
                            "contentKey"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "pattern": "^[a-z0-9-]+$",
                              "description": "Variant arm id — default \"a\" / \"b\" on create."
                            },
                            "label": {
                              "type": "string",
                              "maxLength": 80
                            },
                            "weight": {
                              "type": "integer",
                              "maximum": 100,
                              "minimum": 0
                            },
                            "contentKey": {
                              "type": "string",
                              "minLength": 1,
                              "description": "Published body key (may be routeless)."
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 3,
                        "minItems": 2
                      },
                      "startedAt": {
                        "type": "string"
                      },
                      "changeNote": {
                        "type": "string",
                        "maxLength": 120,
                        "description": "One line on what the variant changes (0.56e M2); kept so route PATCH round-trips don't strip it."
                      },
                      "hypothesis": {
                        "type": "string",
                        "maxLength": 200
                      }
                    },
                    "additionalProperties": false
                  },
                  "redirectTo": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "minLength": 1,
                    "description": "Root-relative redirect target (/…). Required when purpose is \"redirect\"; null clears it once purpose is no longer \"redirect\"."
                  },
                  "preserveQuery": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "Append the visitor's query string to the redirect target (default true on a redirect). null clears the override."
                  },
                  "redirectStatus": {
                    "anyOf": [
                      {
                        "enum": [
                          301,
                          302,
                          308
                        ],
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "301 permanent / 302 or 308 temporary (default 301 on a redirect). null clears an explicit override."
                  },
                  "translationKey": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 100,
                    "description": "Pages sharing a key are translations of each other. null clears."
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "ifMatch": {
            "type": "string"
          },
          "menuItems": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "sort",
                "parent",
                "label",
                "kind",
                "ref",
                "menu"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "ref": {
                  "type": "string"
                },
                "data": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "html": {
                  "type": "string"
                },
                "kind": {
                  "enum": [
                    "page",
                    "url",
                    "anchor",
                    "mailto",
                    "group"
                  ],
                  "type": "string"
                },
                "menu": {
                  "type": "string",
                  "minLength": 1
                },
                "sort": {
                  "type": "integer"
                },
                "attrs": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "label": {
                  "type": "string",
                  "minLength": 1
                },
                "newTab": {
                  "type": "boolean",
                  "default": false
                },
                "parent": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "childShell": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "childTemplate": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "bodyStaging": {
            "type": "string",
            "pattern": "^stg_[a-zA-Z0-9_-]+$"
          },
          "contentType": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "default": [],
      "maxItems": 10
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "deletes": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "string",
            "minLength": 1
          },
          {
            "type": "object",
            "required": [
              "key",
              "ifMatch"
            ],
            "properties": {
              "key": {
                "type": "string",
                "minLength": 1
              },
              "ifMatch": {
                "type": "string",
                "minLength": 1
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "default": [],
      "maxItems": 50,
      "description": "Keys to delete: a key, or { key, ifMatch } (the hash you read) so a page changed since is not deleted (listed in conflicts)."
    },
    "message": {
      "type": "string",
      "maxLength": 2000
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    }
  },
  "additionalProperties": false
}
apply_changeset annotations
{
  "title": "Apply changeset",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
import_site_from_url
Advertised by the server during the last successful anonymous check.
Open-world

Import URL to draft. Waits up to ~40 s; if still running it returns the job id, progress, warnings and `next` (get_site_tasks). On complete it may include requiredDecision: mirror vs editable; ask the person after they see the preview, before any structure_* call.

import_site_from_url input schema
{
  "type": "object",
  "required": [
    "site",
    "sourceUrl"
  ],
  "properties": {
    "mode": {
      "enum": [
        "auto",
        "mirror",
        "render"
      ],
      "type": "string",
      "description": "Default auto — per-page mirror with silent render escalation"
    },
    "site": {
      "type": "string"
    },
    "pages": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "url",
          "key"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "mode": {
            "enum": [
              "auto",
              "mirror",
              "render"
            ],
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "description": "Explicit page list; omit to import sourceUrl as index.html"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "segments": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "pathPrefix"
        ],
        "properties": {
          "mode": {
            "enum": [
              "auto",
              "mirror",
              "render"
            ],
            "type": "string"
          },
          "sitemap": {
            "type": "string",
            "description": "Sitemap path relative to sourceUrl, e.g. /designs/sitemap.xml. Without it only the segment's hub page is imported (warning segment_hub_only)."
          },
          "maxPages": {
            "type": "integer",
            "maximum": 5000,
            "minimum": 1
          },
          "pathPrefix": {
            "type": "string",
            "description": "e.g. / or /designs"
          }
        },
        "additionalProperties": false
      },
      "description": "Split-origin segments; each expands into pages from its own `sitemap` (without one: only its pathPrefix hub page)."
    },
    "sourceUrl": {
      "type": "string",
      "format": "uri"
    },
    "workspace": {
      "type": [
        "string",
        "null"
      ],
      "description": "Workspace id or slug; only with several workspaces."
    },
    "onSlugTaken": {
      "enum": [
        "fail",
        "auto-suffix",
        "merge"
      ],
      "type": "string",
      "default": "auto-suffix"
    },
    "keyConvention": {
      "enum": [
        "flat",
        "directory"
      ],
      "type": "string",
      "description": "Content key shape: directory = Astro dist (about/index.html); default flat"
    }
  },
  "additionalProperties": false
}
import_site_from_url annotations
{
  "title": "Import site from URL",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
get_structure_status
Advertised by the server during the last successful anonymous check.
Advertised read-only

Flat vs structured page counts; chromeCoverage = real per-fragment page counts + missedPages (check before promising sitewide edits). Informs user — do not auto-run analyze/apply while requiredDecision pending.

get_structure_status input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_structure_status annotations
{
  "title": "Structure status",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
structure_site_analyze
Advertised by the server during the last successful anonymous check.

Propose shared layout + fragments; persist:false first. Wait for mirror-vs-editable answer if requiredDecision pending.

structure_site_analyze input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "full": {
      "type": "boolean",
      "description": "Full manifest incl. per-page HTML samples (default: compacted, samples truncated, to fit the token budget)."
    },
    "site": {
      "type": "string"
    },
    "scope": {
      "enum": [
        "flat-only",
        "all"
      ],
      "type": "string",
      "description": "Default flat-only; analyze clusters flat keys only."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "persist": {
      "type": "boolean",
      "description": "First call: false (preview only). true only after user confirms editable/CMS mode."
    },
    "profileId": {
      "enum": [
        "webflow",
        "wordpress",
        "generic",
        "framer"
      ],
      "type": "string"
    },
    "sampleLimit": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1
    },
    "refreshManifest": {
      "type": "boolean",
      "description": "Replace persisted manifest when true."
    }
  },
  "additionalProperties": false
}
structure_site_analyze annotations
{
  "title": "Analyze site structure",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
structure_site_apply
Advertised by the server during the last successful anonymous check.
Advertised destructive

Rewrite flat pages to layout + fragments (draft). Do not call while requiredDecision pending — user must pick editable first. It extracts header/footer only; report chromeCoverage counts, not 'sitewide'. Afterwards share_section with no arguments lists the other repeated blocks (banner, CTA).

structure_site_apply input schema
{
  "type": "object",
  "required": [
    "site",
    "ifMatch"
  ],
  "properties": {
    "keys": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Required when scope is keys."
    },
    "mode": {
      "enum": [
        "apply",
        "review-only"
      ],
      "type": "string",
      "description": "Default apply. Neither is a dry run: review-only writes the same as apply. Use review-only only after a review_required error; it labels the outcome \"review\" and defers primary-nav wiring."
    },
    "site": {
      "type": "string"
    },
    "scope": {
      "enum": [
        "flat-only",
        "all",
        "keys",
        "new-since-last"
      ],
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "ifMatch": {
      "type": "string",
      "minLength": 1,
      "description": "Manifest etag from structure_site_analyze or get_structure_status."
    },
    "overrides": {
      "type": "object",
      "properties": {
        "forceSkipKeys": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "restructure": {
      "type": "boolean",
      "description": "Required true when scope all and site has structured pages."
    }
  },
  "additionalProperties": false
}
structure_site_apply annotations
{
  "title": "Apply site structure",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
get_structure_result
Advertised by the server during the last successful anonymous check.
Advertised read-only

Last structure apply job result (structuredKeys, conflicts, partial).

get_structure_result input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "full": {
      "type": "boolean",
      "description": "Return the full manifest/detail (default: compacted for the token budget)."
    },
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_structure_result annotations
{
  "title": "Structure result",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
adapt_site_analyze
Advertised by the server during the last successful anonymous check.
Advertised read-only

Propose nav wiring + blog collectionization for an imported mirror (draft, opt-in). Read-only: per-adapter reports + proposalEtag. A nav decline may carry nextStep (e.g. mega-menu → edit fragments/header.html). If requiredDecision is pending, wait for the mirror-vs-editable answer.

adapt_site_analyze input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "full": {
      "type": "boolean",
      "description": "Return the full per-member harvest report (default: compacted for the token budget)."
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "options": {
      "type": "object",
      "properties": {
        "menu": {
          "type": "string",
          "minLength": 1,
          "description": "Menu name the nav adapter wires (default \"primary\")."
        },
        "index": {
          "type": "string",
          "minLength": 1,
          "description": "Blog index content key (default: probe blog.html, posts.html, …)."
        },
        "prefix": {
          "type": "string",
          "minLength": 1,
          "description": "Member key prefix override, e.g. \"post/\" (default: detected from index card links)."
        },
        "basePath": {
          "type": "string",
          "minLength": 1,
          "description": "Index route path override, e.g. \"/blog\" (default: the index route)."
        },
        "fragment": {
          "type": "string",
          "pattern": "^[\\w-]+$",
          "description": "Chrome fragment name the nav adapter reads (default \"header\")."
        },
        "pageSize": {
          "type": "integer",
          "maximum": 500,
          "minimum": 1,
          "description": "Explicit page size (default: visible card count)."
        }
      },
      "additionalProperties": false
    },
    "adapters": {
      "type": "array",
      "items": {
        "enum": [
          "nav",
          "collection"
        ],
        "type": "string"
      },
      "minItems": 1,
      "description": "Which adapters to analyze (default: both)."
    },
    "refreshProposal": {
      "type": "boolean",
      "description": "Replace an existing UNCONSUMED proposal (otherwise re-analyze 409s proposal_exists)."
    }
  },
  "additionalProperties": false
}
adapt_site_analyze annotations
{
  "title": "Analyze nav and blog",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
adapt_site_apply
Advertised by the server during the last successful anonymous check.
Advertised destructive

Apply the adapt proposal (draft): wire nav into the menu store and/or rewrite the blog index to a live <dotsy-collection>. One undo covers the apply; a second apply is refused until adapt_site_revert (or force). Queued applies are polled to completion.

adapt_site_apply input schema
{
  "type": "object",
  "required": [
    "site",
    "ifMatch",
    "adapters"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "force": {
      "type": "string",
      "const": "discard-undo",
      "description": "An undo record from a prior apply exists (409 adapt_undo_exists): defer-discard it — the prior record is dropped only when this apply SUCCEEDS; a partial-failure rollback reinstates it. Prefer adapt revert first."
    },
    "dryRun": {
      "type": "boolean",
      "description": "Full computation, would-write set + previews, ZERO writes, no undo."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "ifMatch": {
      "type": "string",
      "minLength": 1,
      "description": "The proposal etag from analyze (or GET …/adapt/proposal / status)."
    },
    "adapters": {
      "type": "array",
      "items": {
        "enum": [
          "nav",
          "collection"
        ],
        "type": "string"
      },
      "minItems": 1,
      "description": "Which analyzed adapters to apply."
    }
  },
  "additionalProperties": false
}
adapt_site_apply annotations
{
  "title": "Apply nav and blog changes",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
adapt_site_revert
Advertised by the server during the last successful anonymous check.
Advertised destructive

Atomically restore everything the last adapt_site_apply wrote (fragments, the menu doc when the op touched it, index, member configs, routes).

adapt_site_revert input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
adapt_site_revert annotations
{
  "title": "Revert nav and blog changes",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
get_adapt_status
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read adapt state: proposal summary + proposalEtag (+ applied/consumed flag), undo-record presence, active or queued job progress. Use to resume in a fresh session.

get_adapt_status input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_adapt_status annotations
{
  "title": "Adapt status",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_content
Advertised by the server during the last successful anonymous check.
Advertised read-only

List content keys (HTML/md); assets: list_assets. 50 keys per page by default: raise limit (≤1000) or pass cursor (nextCursor). Per-row `size`/`missing` are measured on pages of ≤100 rows; past that they're ABSENT (never `null`) unless withSize:true. Only `size: null` + `missing: true` means the page's bytes are gone.

list_content input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "maximum": 1000,
      "minimum": 1,
      "description": "Keys per page (default 50, max 1000)."
    },
    "cursor": {
      "type": "string",
      "description": "Resume from a prior response's nextCursor."
    },
    "withSize": {
      "type": "boolean",
      "description": "Measure size/missing on a page over 100 rows (one storage read per row). Default false; ≤100-row pages are measured anyway."
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    }
  },
  "additionalProperties": false
}
list_content annotations
{
  "title": "List content",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_content
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read ONE content key (selector = region; published=true = live; over 40KB needs a selector or dotsy pull). Many pages' title/description/h1: list_pages facts:'page'. Pass hash as ifMatch on full-page writes. changedBy = who changed the draft; editingNow = editor open.

get_content input schema
{
  "type": "object",
  "required": [
    "site",
    "key"
  ],
  "properties": {
    "key": {
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "selector": {
      "type": "string"
    },
    "published": {
      "type": "boolean"
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    }
  },
  "additionalProperties": false
}
get_content annotations
{
  "title": "Read content",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
put_content
Advertised by the server during the last successful anonymous check.
Advertised destructive

Stage one content key. Body ≤60KB. Larger pages: stage_content_chunk + apply_changeset bodyStaging, dotsy push, or PUT content-raw. Edits to an existing large page: batch_patch_content.

put_content input schema
{
  "type": "object",
  "required": [
    "site",
    "key",
    "body"
  ],
  "properties": {
    "key": {
      "type": "string",
      "description": "Content key: a page (about.html, blog/post.html), layout (layouts/<name>.html) or fragment (fragments/<name>.html). <dotsy-fragment name> and a route's layout use the bare name."
    },
    "body": {
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "ifMatch": {
      "type": "string",
      "minLength": 1,
      "description": "hash from get_content. Without it a full-page write is refused (409 changed_by_other) if someone else changed the draft in the last 4h."
    },
    "overwrite": {
      "type": "boolean",
      "description": "Skip the changed_by_other check."
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    },
    "contentType": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
put_content annotations
{
  "title": "Save content",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
stage_content_chunk
Advertised by the server during the last successful anonymous check.

Append one ≤60KB chunk of a large new page. Omit stagingId on seq 0; pass the returned stagingId on later seq. Set finalize:true on the last chunk, then apply_changeset with writes[].bodyStaging.

stage_content_chunk input schema
{
  "type": "object",
  "required": [
    "site",
    "seq",
    "body"
  ],
  "properties": {
    "seq": {
      "type": "integer",
      "maximum": 84,
      "minimum": 0
    },
    "body": {
      "type": "string",
      "minLength": 1
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "finalize": {
      "type": "boolean"
    },
    "stagingId": {
      "type": "string",
      "pattern": "^stg_[a-zA-Z0-9_-]+$"
    },
    "contentType": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
stage_content_chunk annotations
{
  "title": "Stage large content chunk",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
patch_content
Advertised by the server during the last successful anonymous check.
Advertised destructive

Edit one content key via ops[] (selector ops or replace-string; wrap/unwrap/move restructure siblings). Stages draft; op shapes in schema.

patch_content input schema
{
  "type": "object",
  "required": [
    "site",
    "key",
    "ops"
  ],
  "properties": {
    "key": {
      "type": "string"
    },
    "ops": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "op"
        ],
        "properties": {
          "op": {
            "enum": [
              "set-attr",
              "remove-attr",
              "replace-text",
              "remove-node",
              "insert-after",
              "replace-inner-html",
              "replace-outer-html",
              "replace-string",
              "wrap",
              "unwrap",
              "move"
            ],
            "type": "string"
          },
          "tag": {
            "enum": [
              "div",
              "section",
              "footer",
              "header",
              "article",
              "aside"
            ],
            "type": "string"
          },
          "find": {
            "type": "string",
            "minLength": 1
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "attrs": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "value": {
            "type": "string"
          },
          "expect": {
            "type": "integer",
            "minimum": 0
          },
          "target": {
            "type": "string",
            "minLength": 1
          },
          "replace": {
            "type": "string"
          },
          "anchored": {
            "type": "boolean"
          },
          "position": {
            "enum": [
              "before",
              "after"
            ],
            "type": "string"
          },
          "selector": {
            "type": "string",
            "minLength": 1
          },
          "selectors": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "maxItems": 50,
            "minItems": 1
          }
        },
        "additionalProperties": false
      }
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    }
  },
  "additionalProperties": false
}
patch_content annotations
{
  "title": "Edit content",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
batch_patch_content
Advertised by the server during the last successful anonymous check.
Advertised destructive

patch_content on multiple keys; all-or-nothing validation. Preferred edit path for pages over 60KB. replace-string value/replace ≤60KB; whole call ≤80KB.

batch_patch_content input schema
{
  "type": "object",
  "required": [
    "site",
    "items"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "key",
          "ops"
        ],
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1
          },
          "ops": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "op"
              ],
              "properties": {
                "op": {
                  "enum": [
                    "set-attr",
                    "remove-attr",
                    "replace-text",
                    "remove-node",
                    "insert-after",
                    "replace-inner-html",
                    "replace-outer-html",
                    "replace-string",
                    "wrap",
                    "unwrap",
                    "move"
                  ],
                  "type": "string"
                },
                "tag": {
                  "enum": [
                    "div",
                    "section",
                    "footer",
                    "header",
                    "article",
                    "aside"
                  ],
                  "type": "string"
                },
                "find": {
                  "type": "string",
                  "minLength": 1
                },
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "attrs": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "value": {
                  "type": "string"
                },
                "expect": {
                  "type": "integer",
                  "minimum": 0
                },
                "target": {
                  "type": "string",
                  "minLength": 1
                },
                "replace": {
                  "type": "string"
                },
                "anchored": {
                  "type": "boolean"
                },
                "position": {
                  "enum": [
                    "before",
                    "after"
                  ],
                  "type": "string"
                },
                "selector": {
                  "type": "string",
                  "minLength": 1
                },
                "selectors": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  },
                  "maxItems": 50,
                  "minItems": 1
                }
              },
              "additionalProperties": false
            },
            "minItems": 1
          }
        },
        "additionalProperties": false
      },
      "maxItems": 50,
      "minItems": 1
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    }
  },
  "additionalProperties": false
}
batch_patch_content annotations
{
  "title": "Edit content in bulk",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
delete_content
Advertised by the server during the last successful anonymous check.
Advertised destructive

Delete content key (tombstone if published). A fragments/* section that pages still place is refused with section_in_use (lists the pages) — detach it or remove it first.

delete_content input schema
{
  "type": "object",
  "required": [
    "site",
    "key"
  ],
  "properties": {
    "key": {
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
delete_content annotations
{
  "title": "Delete content",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
rename_content
Advertised by the server during the last successful anonymous check.
Advertised destructive

Re-key a page by slug (draft or published static), server-side copy. Default deletes static routes; movePath:true repoints the route and rewrites menu refs, redirects and root-relative hrefs in draft HTML (as rename_page), leaving a 301 for a published page (leaveRedirect, default true). Retry-safe (409 rename_failed rolls back). On fragments/<name>.html it also rewrites <dotsy-fragment name> references and hide markers. Then publish_site.

rename_content input schema
{
  "type": "object",
  "required": [
    "site",
    "key",
    "newSlug"
  ],
  "properties": {
    "key": {
      "type": "string",
      "description": "Current content key, e.g. dashboard.html"
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "newSlug": {
      "type": "string",
      "minLength": 1,
      "description": "New filename stem; directory prefix preserved (blog/foo → blog/bar)"
    },
    "movePath": {
      "type": "boolean",
      "description": "false (default): delete routes bound to old key. true: move static route path to match slug."
    },
    "leaveRedirect": {
      "type": "boolean",
      "description": "With movePath:true on a published page, leave a 301 at the old path (default true); false removes it (old links break). No effect otherwise."
    }
  },
  "additionalProperties": false
}
rename_content annotations
{
  "title": "Rename content key",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
put_post
Advertised by the server during the last successful anonymous check.
Advertised destructive

Stage a blog post via structured meta+body (?format=post). Key e.g. blog/my-post.html. Membership: meta.collections; schedule: meta.visibleAt; SEO title: meta.seoTitle (the card shows meta.title); custom fields: meta.custom (typed per collection by get_collection_schema; fieldWarnings flags values that don't fit, never blocking).

put_post input schema
{
  "type": "object",
  "required": [
    "site",
    "key",
    "meta",
    "body"
  ],
  "properties": {
    "key": {
      "type": "string"
    },
    "body": {
      "type": "string"
    },
    "head": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "meta": {
      "type": "object",
      "required": [
        "title"
      ],
      "properties": {
        "url": {
          "type": "string"
        },
        "date": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "image": {
          "type": "string"
        },
        "title": {
          "type": "string",
          "description": "Post title — shown on the blog card/listing and used as the <title> unless seoTitle overrides it."
        },
        "author": {
          "type": "string"
        },
        "custom": {
          "type": "object",
          "additionalProperties": {
            "anyOf": [
              {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "null"
                ]
              },
              {
                "type": "object"
              },
              {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/properties/meta/properties/custom/additionalProperties/anyOf/0"
                    },
                    {
                      "$ref": "#/properties/meta/properties/custom/additionalProperties/anyOf/1"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "$ref": "#/properties/meta/properties/custom/additionalProperties/anyOf/0"
                          },
                          {
                            "$ref": "#/properties/meta/properties/custom/additionalProperties/anyOf/1"
                          }
                        ]
                      }
                    }
                  ]
                }
              }
            ]
          }
        },
        "excerpt": {
          "type": "string"
        },
        "seoTitle": {
          "type": "string",
          "description": "SEO override for the <title>/og:title tags only. The blog card and listing always show `title`; empty or absent inherits `title`."
        },
        "visibleAt": {
          "$ref": "#/properties/meta/properties/date"
        },
        "collections": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dateDisplay": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
put_post annotations
{
  "title": "Save blog post",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
inspect_collection
Advertised by the server during the last successful anonymous check.
Advertised read-only

Collection state: count, server.mode, sample entries, tag (membershipKind, match=), name, noun, URL pattern, layout, where listed, post fields used. Pass status/q/cursor/limit (any one, even empty) for an items[] page instead: draft = never published; published with unpublished edits = hasChanges:true (staged title/date/tags/author); scheduled = future visibleAt. limit 1-200, default 50.

inspect_collection input schema
{
  "type": "object",
  "required": [
    "site",
    "prefix"
  ],
  "properties": {
    "q": {
      "type": "string",
      "description": "Case-insensitive title search within items[]."
    },
    "site": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "maximum": 200,
      "minimum": 1,
      "description": "Items per page (default 50, max 200)."
    },
    "cursor": {
      "type": "string",
      "description": "Resume from a prior response's nextCursor."
    },
    "prefix": {
      "type": "string",
      "description": "Collection id or prefix, e.g. \"posts\" or \"blog/\", exactly as list_collections returned it."
    },
    "status": {
      "enum": [
        "all",
        "published",
        "scheduled",
        "draft"
      ],
      "type": "string",
      "description": "Filter items[] by status (meanings in the tool description). This or q/cursor/limit makes the answer include items[]."
    }
  },
  "additionalProperties": false
}
inspect_collection annotations
{
  "title": "Inspect collection",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_collections
Advertised by the server during the last successful anonymous check.
Advertised read-only

Collections on the site: name, noun, item count (or 'not published yet'), URL pattern, whether any member is staged; incl. one only a draft page lists. A bare array: pass each row's key verbatim to inspect_collection/update_collection.

list_collections input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
list_collections annotations
{
  "title": "List collections",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
update_collection
Advertised by the server during the last successful anonymous check.

Rename a collection's display name and/or noun (e.g. key 'posts' shown as 'Recipes' / 'recipe'): cosmetic, separate from the tag that defines membership; no publish needed. At least one of name/noun. null (or "") resets that field to its default; omitting it keeps the current value.

update_collection input schema
{
  "type": "object",
  "required": [
    "site",
    "key"
  ],
  "properties": {
    "key": {
      "type": "string",
      "description": "Collection key exactly as list_collections gave it, e.g. \"posts\" or \"blog/\" (a typed key may 404 or be normalized)."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 80,
      "description": "Display name (≤80 chars). null resets to the derived name."
    },
    "noun": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 40,
      "description": "Singular noun for one item, e.g. \"post\" (≤40 chars). null resets to the derived noun."
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
update_collection annotations
{
  "title": "Rename collection",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
new_post_template
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read-only scaffold for a new post — suggested key/path, membership meta, blank or duplicate body. Then put_post (+ optional put_route).

new_post_template input schema
{
  "type": "object",
  "required": [
    "site",
    "collection"
  ],
  "properties": {
    "mode": {
      "enum": [
        "blank",
        "duplicate"
      ],
      "type": "string",
      "description": "blank (default) or duplicate full body"
    },
    "site": {
      "type": "string"
    },
    "collection": {
      "type": "string",
      "description": "Collection id or prefix, e.g. \"posts\" or \"blog/\""
    },
    "templateKey": {
      "type": "string",
      "description": "Exemplar content key; default = most recent member"
    }
  },
  "additionalProperties": false
}
new_post_template annotations
{
  "title": "New post template",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_collection_schema
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read the collection field definitions (`_data/collections.json`, draft): { schema: { v: 1, collections: { "<key>": { fields[], settings? } } }, hash }. hash is null when none exists yet; pass it as put_collection_schema ifMatch. 409 collection_schema_invalid { hash, issues }: the stored file is broken; fix it with put_collection_schema and that hash.

get_collection_schema input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_collection_schema annotations
{
  "title": "Get collection fields",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
put_collection_schema
Advertised by the server during the last successful anonymous check.
Advertised destructive

Replace the whole field schema (draft; publish makes it live). Edit get_collection_schema's output; keys as list_collections gives them ("blog/" or an id). Field: { key, type, label?, help?, required?, unique?, inCard?, default? }; type text (multiline, minLength, maxLength) | number (min, max, integer) | boolean | option (options[]) | multiOption (options[], max) | link | email | phone | color. Key: letter then letters/digits/_ (≤40), not a built-in post field (e.g. author) or secret-looking; ≤60 fields. Removing a collection keeps post values. settings.defaultSort: date:desc|date:asc|title:asc|slug:asc. Values go in put_post meta.custom. 400 invalid_collection_schema lists issues; 409 = stale ifMatch.

put_collection_schema input schema
{
  "type": "object",
  "required": [
    "site",
    "schema"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "schema": {
      "type": "object",
      "description": "Whole schema file: { \"v\": 1, \"collections\": { \"<key>\": { \"fields\": [...], \"settings\"?: {...} } } }."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "ifMatch": {
      "type": [
        "string",
        "null"
      ],
      "description": "hash from get_collection_schema (stale → 409 conflict). null = the schema must not exist yet. Omit to write unconditionally."
    }
  },
  "additionalProperties": false
}
put_collection_schema annotations
{
  "title": "Replace collection fields",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
set_item_status
Advertised by the server during the last successful anonymous check.

Change a roadmap/board item status (stamps dates; on release drafts the changelog post and links both ways). Never hand-edit *At, daysToRelease, or votes.

set_item_status input schema
{
  "type": "object",
  "required": [
    "site",
    "key",
    "status"
  ],
  "properties": {
    "at": {
      "type": "string",
      "description": "ISO date for the status stamp (backfill)."
    },
    "key": {
      "type": "string",
      "minLength": 1,
      "description": "Content key, e.g. roadmap/my-feature.html"
    },
    "site": {
      "type": "string"
    },
    "reply": {
      "type": "string",
      "description": "Decline reply when moving to an archived state."
    },
    "status": {
      "type": "string",
      "minLength": 1,
      "description": "One of the board states from get_collection_schema."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "publish": {
      "type": "boolean",
      "description": "Publish the touched keys after staging."
    },
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Board collection (default \"roadmap\")."
    },
    "draftChangelog": {
      "type": "boolean",
      "description": "Default true when the board defines a changelog collection."
    }
  },
  "additionalProperties": false
}
set_item_status annotations
{
  "title": "Set board item status",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_board
Advertised by the server during the last successful anonymous check.
Advertised read-only

List board items with status, stamp fields, and baked vote counts (draft overlay included). Live vote totals: site host GET /__dotsy/votes.

get_board input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Board collection (default \"roadmap\")."
    }
  },
  "additionalProperties": false
}
get_board annotations
{
  "title": "Get board snapshot",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_votes
Advertised by the server during the last successful anonymous check.
Advertised read-only

List voters on one board item (voter id + source only — no email).

list_votes input schema
{
  "type": "object",
  "required": [
    "site",
    "collection",
    "item"
  ],
  "properties": {
    "item": {
      "type": "string",
      "minLength": 1,
      "description": "Content key, e.g. roadmap/my-feature.html"
    },
    "site": {
      "type": "string"
    },
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Board collection id."
    }
  },
  "additionalProperties": false
}
list_votes annotations
{
  "title": "List votes on an item",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
remove_votes
Advertised by the server during the last successful anonymous check.
Advertised destructive

Remove one voter's vote and drop their release subscription for that item.

remove_votes input schema
{
  "type": "object",
  "required": [
    "site",
    "collection",
    "item",
    "voterId"
  ],
  "properties": {
    "item": {
      "type": "string",
      "minLength": 1
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "voterId": {
      "type": "string",
      "minLength": 1
    },
    "collection": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
remove_votes annotations
{
  "title": "Remove a vote",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
list_suggestions
Advertised by the server during the last successful anonymous check.
Advertised read-only

List form suggestions to moderate (duplicate hints); `about` filters by tool id.

list_suggestions input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "about": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "description": "Default \"new\"; or \"all\"."
    }
  },
  "additionalProperties": false
}
list_suggestions annotations
{
  "title": "List form suggestions",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
moderate_suggestion
Advertised by the server during the last successful anonymous check.

Decide one form suggestion from list_suggestions: approve (new draft board item; stages content, does not publish), merge (into an existing board item, subscribes the voter/email) or decline.

moderate_suggestion input schema
{
  "type": "object",
  "required": [
    "site",
    "id",
    "decision"
  ],
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1
    },
    "body": {
      "type": "string",
      "description": "approve only."
    },
    "site": {
      "type": "string"
    },
    "slug": {
      "type": "string",
      "description": "approve only."
    },
    "title": {
      "type": "string",
      "description": "approve: item title (default: the suggestion's)."
    },
    "reason": {
      "type": "string",
      "description": "decline: note kept with the suggestion."
    },
    "status": {
      "type": "string",
      "description": "approve: initial board status."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "itemKey": {
      "type": "string",
      "minLength": 1,
      "description": "merge: the existing board item's key (required)."
    },
    "decision": {
      "enum": [
        "approve",
        "merge",
        "decline"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false
}
moderate_suggestion annotations
{
  "title": "Moderate a suggestion",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
add_idea
Advertised by the server during the last successful anonymous check.

Add an idea from outside the site (draft board item or inbox suggestion). Idempotent on externalRef.

add_idea input schema
{
  "type": "object",
  "required": [
    "site",
    "title",
    "description",
    "source"
  ],
  "properties": {
    "area": {
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "board": {
      "type": "string"
    },
    "title": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    },
    "source": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "status": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "requester": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string",
          "format": "email"
        }
      },
      "additionalProperties": false
    },
    "description": {
      "type": "string",
      "maxLength": 20000,
      "minLength": 1
    },
    "externalRef": {
      "type": "object",
      "required": [
        "system",
        "id"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "system": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "asSuggestion": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
add_idea annotations
{
  "title": "Add an external idea",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_ideas
Advertised by the server during the last successful anonymous check.
Advertised read-only

Search draft/published board items and open suggestions by title token overlap.

list_ideas input schema
{
  "type": "object",
  "required": [
    "site",
    "q"
  ],
  "properties": {
    "q": {
      "type": "string",
      "minLength": 1
    },
    "site": {
      "type": "string"
    },
    "board": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
list_ideas annotations
{
  "title": "Search ideas and suggestions",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
infer_collection_schema
Advertised by the server during the last successful anonymous check.
Advertised read-only

Suggest fields for one collection from its items' meta.custom values (published, else drafts); writes nothing. Returns { sampled, suggestions: [{ field: { key, type, options? }, count, samples, defined }], skipped }. Add the ones you want via put_collection_schema.

infer_collection_schema input schema
{
  "type": "object",
  "required": [
    "site",
    "collection"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Collection key exactly as list_collections returned it, e.g. \"blog/\" or \"posts\"."
    }
  },
  "additionalProperties": false
}
infer_collection_schema annotations
{
  "title": "Suggest collection fields",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
reindex_collection
Advertised by the server during the last successful anonymous check.

Build/finish collection indexes after publish returns collectionDataPending or collectionSqlPending.

reindex_collection input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
reindex_collection annotations
{
  "title": "Rebuild collection index",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
preview_page
Advertised by the server during the last successful anonymous check.
Advertised read-only

Verify-only composed HTML check of one page; home preview may include requiredDecision — ask mirror vs editable before structure_*. Many pages' head facts: list_pages facts:'page'.

preview_page input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "path": {
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "variant": {
      "type": "string",
      "description": "A/B variant arm to compose (e.g. \"b\") — same as ?dotsy-variant= on the public URL."
    },
    "contains": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Assert substrings present in composed HTML."
    },
    "selector": {
      "type": "string",
      "description": "Return matched elements only (tag/attrs/text)."
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    },
    "notContains": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Assert absent — e.g. `<dotsy-` for unresolved template tags."
    }
  },
  "additionalProperties": false
}
preview_page annotations
{
  "title": "Preview page",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
verify_page
Advertised by the server during the last successful anonymous check.
Advertised read-only

Pre-publish lint (tags, assets, layout, SEO, speed, accessibility). Summary first: health issues by code, each with fix:{tool,args,fill?}: supply the fill args, then call. health.summary counts are whole-site (groups/codes filter only issues and assets). Pair with preview_page; see get_skill('verify').

verify_page input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "codes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Only these health codes, e.g. perf_image_heavy."
    },
    "paths": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Routes to check; omit to verify every route on the site."
    },
    "detail": {
      "enum": [
        "summary",
        "full"
      ],
      "type": "string",
      "description": "summary (default): grouped by code, clean pages counted. full: per-page lists."
    },
    "groups": {
      "type": "array",
      "items": {
        "enum": [
          "seo",
          "speed",
          "a11y",
          "links"
        ],
        "type": "string"
      },
      "description": "Only these groups: speed = perf_*, a11y = a11y_*, links = link_* + content_*. Omit for all."
    }
  },
  "additionalProperties": false
}
verify_page annotations
{
  "title": "Verify page",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
preflight_site
Advertised by the server during the last successful anonymous check.
Advertised read-only

Plan check before publish or large build (counts, plan page cap, seo suggestions; imports: form_unwired advisory, webflow_store blocking). When ok is false, blocking lists the failed suggestion codes. Read-only.

preflight_site input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "requiredAssets": {
      "type": "integer",
      "minimum": 0,
      "description": "How many assets you plan to upload"
    },
    "requiredRoutes": {
      "type": "integer",
      "minimum": 0,
      "description": "How many routes you plan to add"
    }
  },
  "additionalProperties": false
}
preflight_site annotations
{
  "title": "Preflight site build",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
start_edit_session
Advertised by the server during the last successful anonymous check.

Open a draft session. Returns preview/edit URLs for the person (see linkGuidance). draftEditorUrl only when the site gives AI agents Full access. path defaults to '/'.

start_edit_session input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "path": {
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
start_edit_session annotations
{
  "title": "Start edit session",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_site_outline
Advertised by the server during the last successful anonymous check.
Advertised read-only

Site shape without listing every page: each layout and shared section (`sections`: fragments/* by name, page count, file exists, staged-change flag), missing layouts, redirects count, menus by where they show, collections with their page placements. Indexing mirrors list_pages (a fresh import may still be indexing).

get_site_outline input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_site_outline annotations
{
  "title": "Site outline",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
share_section
Advertised by the server during the last successful anonymous check.
Advertised destructive

Share a repeated block, or move/hide a shared section. No arguments: lists blocks on 3+ pages (likeSection: matches a shared one). sourceKey + selector (selectors: a sibling run): dry run lists pages; dryRun:false shares it. name + suggestionId: put it on a suggestion's pages (after = through while remaining > 0). name + scope/hide/show: move to/from every page, or hide/show per page. too_many_pages: share with keys, again by the same name from a page with a copy; then name + scope every_page + keys (max-1 a call). Draft only (publish_site; undo: revert_change).

share_section input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "hide": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 1000,
      "description": "every_page: pages to keep it off (they keep their copy). Send with the first move, never later."
    },
    "keys": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 1000,
      "description": "Pages with an exact copy to share it on (analyze's matches.keys). Omit for every exact copy. The source page is always included."
    },
    "name": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "New name (default: proposed), or the existing section to re-place or use."
    },
    "show": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 1000,
      "description": "Pages that should show it again (removes their marker)."
    },
    "site": {
      "type": "string"
    },
    "after": {
      "type": "string",
      "minLength": 1,
      "description": "Previous `through`."
    },
    "scope": {
      "enum": [
        "where_found",
        "every_page"
      ],
      "type": "string",
      "description": "where_found: each page that has it gets a reference. every_page: one slot in the layout, at the top or bottom of the page content; pages listed in `hide` don't show it."
    },
    "dryRun": {
      "type": "boolean",
      "default": true,
      "description": "Default true: report what would change and write nothing. false: stage the change as a draft (publish_site makes it live)."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "ifMatch": {
      "type": "string",
      "minLength": 1,
      "description": "The page's content hash (analyze's sourceEtag). If the page changed since, nothing is written."
    },
    "similar": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 200,
      "description": "Pages with a similar copy (analyze's similar.keys) that take the shared version, losing their own wording. Default none."
    },
    "wrapTag": {
      "enum": [
        "div",
        "section",
        "footer",
        "header",
        "article",
        "aside"
      ],
      "type": "string",
      "description": "With selectors: the wrapper. Default footer when the run ends the page content, else section."
    },
    "selector": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "description": "CSS selector of the element in the page's stored HTML (the editor's selector, or one checked with get_content?selector=). It must match exactly one element."
    },
    "selectors": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 2000,
        "minLength": 1
      },
      "maxItems": 50,
      "minItems": 1,
      "description": "Instead of selector: a run of adjacent siblings in page order (each matches one element); one section, one wrapper."
    },
    "sourceKey": {
      "type": "string",
      "minLength": 1,
      "description": "Content key of the page the element is on, e.g. 'about.html'."
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    },
    "keepLayout": {
      "type": "boolean",
      "description": "With selectors: wrapper gets style=\"display:contents\" so a flex/grid parent lays the run out as before. Default true."
    },
    "suggestionId": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "description": "With name = likeSection: use that section on its pages."
    }
  },
  "additionalProperties": false
}
share_section annotations
{
  "title": "Share a section",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
detach_section
Advertised by the server during the last successful anonymous check.
Advertised destructive

Give one page its own copy of a shared section; other pages keep the shared one. Draft until publish_site. A section the layout places is hidden on that page instead (share_section name + hide).

detach_section input schema
{
  "type": "object",
  "required": [
    "site",
    "name",
    "pageKey"
  ],
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "description": "Section name. Its file is fragments/<name>.html, placed with <dotsy-fragment name=\"<name>\">."
    },
    "site": {
      "type": "string"
    },
    "dryRun": {
      "type": "boolean",
      "default": true,
      "description": "Default true: report what would change and write nothing. false: stage the change as a draft (publish_site makes it live)."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "ifMatch": {
      "type": "string",
      "minLength": 1,
      "description": "The page's content hash. If the page changed since, nothing is written."
    },
    "pageKey": {
      "type": "string",
      "minLength": 1,
      "description": "Content key of the page that gets its own copy, e.g. 'pricing.html'."
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    }
  },
  "additionalProperties": false
}
detach_section annotations
{
  "title": "Detach a section",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
get_route
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get one route by path (home is '/').

get_route input schema
{
  "type": "object",
  "required": [
    "site",
    "path"
  ],
  "properties": {
    "path": {
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    }
  },
  "additionalProperties": false
}
get_route annotations
{
  "title": "Get route",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
put_route
Advertised by the server during the last successful anonymous check.
Advertised destructive

Create/replace a route; contentKey derived from path if omitted. null on a nullable field (contentKey, redirectTo, redirectStatus, preserveQuery) clears it to its default.

put_route input schema
{
  "type": "object",
  "required": [
    "site",
    "path"
  ],
  "properties": {
    "lang": {
      "type": [
        "string",
        "null"
      ],
      "description": "Page language, e.g. \"es\", \"pt-BR\". null clears (folder or main language applies)."
    },
    "path": {
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "vars": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "string"
      }
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "layout": {
      "type": [
        "string",
        "null"
      ],
      "description": "Layout NAME, bare (\"default\" for layouts/default.html), not the file key. Must already exist (400 layout_not_found). null removes it."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "noindex": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Exclude from sitemap/RSS; inject noindex meta (0.69)."
    },
    "purpose": {
      "type": [
        "string",
        "null"
      ]
    },
    "contentKey": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "description": "Explicit content key (default: path-derived). null restores the default (undoes a prior set on PATCH)."
    },
    "experiment": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "id",
        "name",
        "status",
        "variants"
      ],
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[a-z0-9-]+$",
          "description": "Stable experiment slug — cookie namespace; unique per site forever."
        },
        "name": {
          "type": "string",
          "maxLength": 80,
          "minLength": 1
        },
        "goalId": {
          "type": "string",
          "minLength": 1,
          "description": "Optional dotsy conversion goal; omit when tracking in external analytics."
        },
        "status": {
          "enum": [
            "draft",
            "running",
            "ended"
          ],
          "type": "string"
        },
        "endedAt": {
          "type": "string"
        },
        "handsOff": {
          "type": "boolean",
          "description": "Hands-off mode (0.56e M4): the daily sweep may auto-promote a ≥95% winner or auto-end keep-A after 30 days. Prefer start_test; kept so route PATCH round-trips don't strip it."
        },
        "variants": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "weight",
              "contentKey"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9-]+$",
                "description": "Variant arm id — default \"a\" / \"b\" on create."
              },
              "label": {
                "type": "string",
                "maxLength": 80
              },
              "weight": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "contentKey": {
                "type": "string",
                "minLength": 1,
                "description": "Published body key (may be routeless)."
              }
            },
            "additionalProperties": false
          },
          "maxItems": 3,
          "minItems": 2
        },
        "startedAt": {
          "type": "string"
        },
        "changeNote": {
          "type": "string",
          "maxLength": 120,
          "description": "One line on what the variant changes (0.56e M2); kept so route PATCH round-trips don't strip it."
        },
        "hypothesis": {
          "type": "string",
          "maxLength": 200
        }
      },
      "additionalProperties": false
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    },
    "redirectTo": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "description": "Root-relative redirect target (/…). Required when purpose is \"redirect\"; null clears it once purpose is no longer \"redirect\"."
    },
    "preserveQuery": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Append the visitor's query string to the redirect target (default true on a redirect). null clears the override."
    },
    "redirectStatus": {
      "anyOf": [
        {
          "enum": [
            301,
            302,
            308
          ],
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "301 permanent / 302 or 308 temporary (default 301 on a redirect). null clears an explicit override."
    },
    "translationKey": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100,
      "description": "Pages sharing a key are translations of each other. null clears."
    }
  },
  "additionalProperties": false
}
put_route annotations
{
  "title": "Save route",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
patch_route
Advertised by the server during the last successful anonymous check.
Advertised destructive

Partial route update (only sent fields change; an OMITTED field is left alone). On a nullable field (contentKey, redirectTo, redirectStatus, preserveQuery), null CLEARS it to its default — unlike omitting it. To set redirectTo/redirectStatus, send purpose: "redirect" in the SAME call (only what's sent is checked, even on an existing redirect) or it 400s invalid_body.

patch_route input schema
{
  "type": "object",
  "required": [
    "site",
    "path"
  ],
  "properties": {
    "lang": {
      "type": [
        "string",
        "null"
      ],
      "description": "Page language, e.g. \"es\", \"pt-BR\". null clears (folder or main language applies)."
    },
    "path": {
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "vars": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "string"
      }
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "layout": {
      "type": [
        "string",
        "null"
      ],
      "description": "Layout NAME, bare (\"default\" for layouts/default.html), not the file key. Must already exist (400 layout_not_found). null removes it."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "noindex": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Exclude from sitemap/RSS; inject noindex meta (0.69)."
    },
    "purpose": {
      "type": [
        "string",
        "null"
      ]
    },
    "contentKey": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "description": "Explicit content key (default: path-derived). null restores the default (undoes a prior set on PATCH)."
    },
    "experiment": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "id",
        "name",
        "status",
        "variants"
      ],
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[a-z0-9-]+$",
          "description": "Stable experiment slug — cookie namespace; unique per site forever."
        },
        "name": {
          "type": "string",
          "maxLength": 80,
          "minLength": 1
        },
        "goalId": {
          "type": "string",
          "minLength": 1,
          "description": "Optional dotsy conversion goal; omit when tracking in external analytics."
        },
        "status": {
          "enum": [
            "draft",
            "running",
            "ended"
          ],
          "type": "string"
        },
        "endedAt": {
          "type": "string"
        },
        "handsOff": {
          "type": "boolean",
          "description": "Hands-off mode (0.56e M4): the daily sweep may auto-promote a ≥95% winner or auto-end keep-A after 30 days. Prefer start_test; kept so route PATCH round-trips don't strip it."
        },
        "variants": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "weight",
              "contentKey"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9-]+$",
                "description": "Variant arm id — default \"a\" / \"b\" on create."
              },
              "label": {
                "type": "string",
                "maxLength": 80
              },
              "weight": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "contentKey": {
                "type": "string",
                "minLength": 1,
                "description": "Published body key (may be routeless)."
              }
            },
            "additionalProperties": false
          },
          "maxItems": 3,
          "minItems": 2
        },
        "startedAt": {
          "type": "string"
        },
        "changeNote": {
          "type": "string",
          "maxLength": 120,
          "description": "One line on what the variant changes (0.56e M2); kept so route PATCH round-trips don't strip it."
        },
        "hypothesis": {
          "type": "string",
          "maxLength": 200
        }
      },
      "additionalProperties": false
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    },
    "redirectTo": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "description": "Root-relative redirect target (/…). Required when purpose is \"redirect\"; null clears it once purpose is no longer \"redirect\"."
    },
    "preserveQuery": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Append the visitor's query string to the redirect target (default true on a redirect). null clears the override."
    },
    "redirectStatus": {
      "anyOf": [
        {
          "enum": [
            301,
            302,
            308
          ],
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "301 permanent / 302 or 308 temporary (default 301 on a redirect). null clears an explicit override."
    },
    "translationKey": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100,
      "description": "Pages sharing a key are translations of each other. null clears."
    }
  },
  "additionalProperties": false
}
patch_route annotations
{
  "title": "Update route",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
rename_page
Advertised by the server during the last successful anonymous check.
Advertised destructive

Change a page's URL: moves route `from` to `to`. Menu links and redirects to the old path retarget; a 301 stays at the old path (leaveRedirect). Draft HTML links to the old path are rewritten (linksRewritten; linksRewriteTruncated past 100 keys). rename_experiment_running: end the A/B test first; rename_target_exists is a 200 if `to` already serves it. Then publish_site.

rename_page input schema
{
  "type": "object",
  "required": [
    "site",
    "from",
    "to"
  ],
  "properties": {
    "to": {
      "type": "string",
      "minLength": 1,
      "description": "New route path, e.g. /new-page"
    },
    "from": {
      "type": "string",
      "minLength": 1,
      "description": "Current route path, e.g. /old-page"
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "leaveRedirect": {
      "type": "boolean",
      "description": "Leave a 301 from the old path to the new one (default true); false removes the old path (old links break)."
    }
  },
  "additionalProperties": false
}
rename_page annotations
{
  "title": "Change page URL",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
delete_route
Advertised by the server during the last successful anonymous check.
Advertised destructive

Remove a route by path.

delete_route input schema
{
  "type": "object",
  "required": [
    "site",
    "path"
  ],
  "properties": {
    "path": {
      "type": "string"
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
delete_route annotations
{
  "title": "Delete route",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
list_goals
Advertised by the server during the last successful anonymous check.
Advertised read-only

List site conversion goals (pageview paths and form submits). Required before start_test.

list_goals input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
list_goals annotations
{
  "title": "List goals",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
put_goals
Advertised by the server during the last successful anonymous check.
Advertised destructive

Create or replace all site conversion goals (≤50). Required before start_test when no goal exists.

put_goals input schema
{
  "type": "object",
  "required": [
    "site",
    "goals"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "goals": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "required": [
              "id",
              "label",
              "type",
              "pathPattern"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 64,
                "minLength": 1
              },
              "type": {
                "type": "string",
                "const": "pageview"
              },
              "label": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1
              },
              "pathPattern": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Match path exactly or prefix with trailing * (e.g. \"/thanks\" or \"/blog/*\")."
              }
            },
            "additionalProperties": false
          },
          {
            "type": "object",
            "required": [
              "id",
              "label",
              "type",
              "formId"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 64,
                "minLength": 1
              },
              "type": {
                "type": "string",
                "const": "form"
              },
              "label": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1
              },
              "formId": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              }
            },
            "additionalProperties": false
          },
          {
            "type": "object",
            "required": [
              "id",
              "label",
              "type",
              "eventName"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 64,
                "minLength": 1
              },
              "type": {
                "type": "string",
                "const": "event"
              },
              "label": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1
              },
              "eventName": {
                "enum": [
                  "download",
                  "cta_click"
                ],
                "type": "string",
                "description": "Built-in client event name (0.47.1)."
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "maxItems": 50
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
put_goals annotations
{
  "title": "Replace goals",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
estimate_test
Advertised by the server during the last successful anonymous check.
Advertised read-only

Estimate days to reach promote readiness for a page (traffic baseline). Read-only.

estimate_test input schema
{
  "type": "object",
  "required": [
    "site",
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Route path, e.g. /pricing"
    },
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
estimate_test annotations
{
  "title": "Estimate A/B test",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
start_test
Advertised by the server during the last successful anonymous check.
Open-world

Start a same-URL A/B test (draft or live source). Rules → get_skill('verify') § A/B.

start_test input schema
{
  "type": "object",
  "required": [
    "site",
    "path",
    "goalId",
    "source"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 80
    },
    "path": {
      "type": "string",
      "minLength": 1
    },
    "site": {
      "type": "string"
    },
    "goalId": {
      "type": "string",
      "minLength": 1
    },
    "source": {
      "enum": [
        "draft",
        "live"
      ],
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "weights": {
      "type": "array",
      "items": {
        "type": "integer",
        "maximum": 100,
        "minimum": 0
      }
    },
    "handsOff": {
      "type": "boolean",
      "description": "Hands-off mode (0.56e M4): dotsy finishes the test WITHOUT further user instruction — the LIVE SITE may change later on its own (a ≥95% winner is auto-promoted, old page kept as a draft; or after 30 days with no clear winner the test auto-ends keeping the control). Only set when the user explicitly asked for hands-off / auto-finish."
    },
    "changeNote": {
      "type": "string",
      "maxLength": 120,
      "description": "One line on what the variant changes, shown on the test card (≤120 chars)."
    },
    "hypothesis": {
      "type": "string",
      "maxLength": 200
    }
  },
  "additionalProperties": false
}
start_test annotations
{
  "title": "Start A/B test",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
promote_experiment
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Promote a winning A/B variant to live — explicit user instruction only; see get_skill('verify') § A/B.

promote_experiment input schema
{
  "type": "object",
  "required": [
    "site",
    "experimentId",
    "variantId"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "variantId": {
      "type": "string",
      "minLength": 1,
      "description": "Winning variant arm id (usually \"b\")."
    },
    "experimentId": {
      "type": "string",
      "minLength": 1
    },
    "loserDisposition": {
      "enum": [
        "discard",
        "keep_draft"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false
}
promote_experiment annotations
{
  "title": "Promote A/B winner",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
delete_draft_test
Advertised by the server during the last successful anonymous check.
Advertised destructive

Remove a draft A/B test (releases variant bodies; does not publish).

delete_draft_test input schema
{
  "type": "object",
  "required": [
    "site",
    "experimentId"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "experimentId": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
delete_draft_test annotations
{
  "title": "Delete draft A/B test",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
set_experiment_note
Advertised by the server during the last successful anonymous check.

Record what was learned from an ended A/B test (≤500 chars; null clears).

set_experiment_note input schema
{
  "type": "object",
  "required": [
    "site",
    "experimentId",
    "note"
  ],
  "properties": {
    "note": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 500,
      "description": "The learning, in plain words (≤500 chars, multiline ok) — null clears it."
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "experimentId": {
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
set_experiment_note annotations
{
  "title": "Save A/B test note",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_menu
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read a menu's draft items and etag; menu rules → get_skill('nav').

get_menu input schema
{
  "type": "object",
  "required": [
    "site",
    "menu"
  ],
  "properties": {
    "menu": {
      "type": "string",
      "minLength": 1
    },
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_menu annotations
{
  "title": "Get menu",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
put_menu_item
Advertised by the server during the last successful anonymous check.
Advertised destructive

Partial upsert of one menu item: send only the fields to change (omitted ones keep their value; parent: null = top level). data/attrs merge per key (a null value removes that key). A new id needs label, kind and ref (parent null, sort last) and dedupes by (menu, ref). Remove html/childTemplate via put_menu_doc.

put_menu_item input schema
{
  "type": "object",
  "required": [
    "site",
    "menu",
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1
    },
    "ref": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "html": {
      "type": "string"
    },
    "kind": {
      "enum": [
        "page",
        "url",
        "anchor",
        "mailto",
        "group"
      ],
      "type": "string"
    },
    "menu": {
      "type": "string",
      "minLength": 1
    },
    "site": {
      "type": "string"
    },
    "sort": {
      "type": "integer"
    },
    "attrs": {
      "type": "object",
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "label": {
      "type": "string",
      "minLength": 1
    },
    "newTab": {
      "type": "boolean"
    },
    "parent": {
      "type": [
        "string",
        "null"
      ]
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "childShell": {
      "type": [
        "string",
        "null"
      ]
    },
    "childTemplate": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
put_menu_item annotations
{
  "title": "Save menu item",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
delete_menu_item
Advertised by the server during the last successful anonymous check.
Advertised destructive

Remove one item from a menu (page stays live).

delete_menu_item input schema
{
  "type": "object",
  "required": [
    "site",
    "menu",
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1
    },
    "menu": {
      "type": "string",
      "minLength": 1
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
delete_menu_item annotations
{
  "title": "Delete menu item",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
reorder_menu
Advertised by the server during the last successful anonymous check.

Set final menu order. Pass ifMatch from get_menu; stale → 409 with current items.

reorder_menu input schema
{
  "type": "object",
  "required": [
    "site",
    "menu",
    "orderedIds"
  ],
  "properties": {
    "menu": {
      "type": "string",
      "minLength": 1
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "ifMatch": {
      "type": "string"
    },
    "orderedIds": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "minItems": 1
    }
  },
  "additionalProperties": false
}
reorder_menu annotations
{
  "title": "Reorder menu",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_menu_doc
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read the whole menu doc (all menus + shell/template), etag for put_menu_doc, and issues by item id (page_not_routable, page_missing, page_dead_link, page_is_redirect) from the draft routes, so a link that won't show or leads nowhere is caught before publish.

get_menu_doc input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "source": {
      "enum": [
        "draft",
        "live"
      ],
      "type": "string",
      "description": "Which doc to read. Default draft."
    }
  },
  "additionalProperties": false
}
get_menu_doc annotations
{
  "title": "Get all menus",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
put_menu_doc
Advertised by the server during the last successful anonymous check.
Advertised destructive

Replace the whole menu doc (ifMatch from get_menu_doc required). Each item may omit menu — the enclosing menu key in doc is used.

put_menu_doc input schema
{
  "type": "object",
  "required": [
    "site",
    "doc",
    "ifMatch"
  ],
  "properties": {
    "doc": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "required": [
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "sort",
                "parent",
                "label",
                "kind",
                "ref",
                "id"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "ref": {
                  "type": "string"
                },
                "data": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "html": {
                  "type": "string"
                },
                "kind": {
                  "enum": [
                    "page",
                    "url",
                    "anchor",
                    "mailto",
                    "group"
                  ],
                  "type": "string"
                },
                "menu": {
                  "type": "string",
                  "minLength": 1
                },
                "sort": {
                  "type": "integer"
                },
                "attrs": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "label": {
                  "type": "string",
                  "minLength": 1
                },
                "newTab": {
                  "type": "boolean",
                  "default": false
                },
                "parent": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "childShell": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "childTemplate": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "shell": {
            "type": [
              "string",
              "null"
            ]
          },
          "template": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      }
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "ifMatch": {
      "type": "string",
      "description": "Whole-doc etag from get_menu_doc. Required (sent as If-Match)."
    }
  },
  "additionalProperties": false
}
put_menu_doc annotations
{
  "title": "Replace all menus",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
list_assets
Advertised by the server during the last successful anonymous check.
Advertised read-only

CMS uploads under assets/ only, not the mirrored clone CDN (get_site mirroredAssets or import warmJob). Content: list_content.

list_assets input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "maximum": 1000,
      "minimum": 1
    },
    "cursor": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
list_assets annotations
{
  "title": "List assets",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_asset
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read one asset (metadata + base64 + stored sha256). sha256 is the stored blob; may differ from upload bodySha256 when IMAGES re-encodes rasters.

get_asset input schema
{
  "type": "object",
  "required": [
    "site",
    "key"
  ],
  "properties": {
    "key": {
      "type": "string",
      "minLength": 1,
      "description": "Path after /assets/, e.g. photos/hero.webp or style.css (no assets/ or / prefix)."
    },
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_asset annotations
{
  "title": "Get asset",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
bulk_put_assets
Advertised by the server during the last successful anonymous check.
Advertised destructive

Upload 1–200 CMS assets; key = path after /assets/, or sitePath for an exact URL path (e.g. /ads.txt). Each item: one of bodyBase64, bodyText (.css/.js/.mjs/.json/.svg/.txt/.xml, not .html) or importFromUrl. ≤5 MB per asset (10 MB paid; no 60KB page limit). Big files: importFromUrl or dotsy push. bodySha256 checks sent bytes; response sha256 = stored bytes. JPEG/PNG/still GIF become WebP (photo.webp; /assets/photo.jpg still serves it): use the response key in CSS/JS; optimize:false keeps your bytes; animated GIFs kept. Live in editor/preview at once; live site after publish.

bulk_put_assets input schema
{
  "type": "object",
  "required": [
    "site",
    "items"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1,
            "description": "Path after /assets/ on the site — e.g. photos/hero.webp or style.css. Do not prefix with assets/ or /. Uploaded files are live in the editor and draft preview at once; the published site picks them up at the next publish."
          },
          "intent": {
            "enum": [
              "hero",
              "column",
              "inline",
              "logo"
            ],
            "type": "string"
          },
          "bodyText": {
            "type": "string"
          },
          "optimize": {
            "type": "boolean",
            "description": "Default true: a JPEG, PNG or static GIF is re-encoded to WebP (key photo.jpg is stored as photo.webp, and /assets/photo.jpg still serves it). false stores the bytes exactly as sent, at the key given. Animated GIFs are always kept as sent."
          },
          "sitePath": {
            "type": "string",
            "description": "Store at this exact site path instead of /assets/{key} — e.g. /.well-known/security.txt, /ads.txt, /favicon.ico. Send key OR sitePath."
          },
          "bodyBase64": {
            "type": "string"
          },
          "bodySha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "description": "Optional SHA-256 of the submitted upload bytes (decoded bodyBase64 or raw PUT body). Mismatch returns body_sha256_mismatch before any write. Response/get_asset sha256 is the stored blob (WebP after IMAGES optimization for rasters; unchanged for JS/CSS/SVG)."
          },
          "contentType": {
            "type": "string",
            "minLength": 1
          },
          "importFromUrl": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      },
      "maxItems": 200,
      "minItems": 1
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
bulk_put_assets annotations
{
  "title": "Upload assets",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
delete_asset
Advertised by the server during the last successful anonymous check.
Advertised destructive

Delete a static asset by key. The editor and draft preview drop it at once; the published site drops it at the next publish.

delete_asset input schema
{
  "type": "object",
  "required": [
    "site",
    "key"
  ],
  "properties": {
    "key": {
      "type": "string",
      "minLength": 1,
      "description": "Path after /assets/, e.g. photos/hero.webp or style.css (no assets/ or / prefix)."
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
delete_asset annotations
{
  "title": "Delete asset",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
optimize_assets
Advertised by the server during the last successful anonymous check.
Advertised destructive

Shrink heavy images in place: JPEG/PNG/still GIF → WebP at the same address (no HTML change). keys = site paths from verify_page health.assets[].ref (/assets/… or clone paths like /wp-content/…), 1–50 a call. Skips animated, small and non-images (`skipped`); idempotent; originals kept (never served). Spends the daily image budget; dryRun:true reports the saving without spending it. The draft serves the smaller file at once; live after you publish (some imported files sooner).

optimize_assets input schema
{
  "type": "object",
  "required": [
    "site",
    "keys"
  ],
  "properties": {
    "keys": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 2048,
        "minLength": 1
      },
      "maxItems": 50,
      "minItems": 1,
      "description": "Site paths of the images, e.g. /assets/hero.jpg or /wp-content/uploads/photo.png."
    },
    "site": {
      "type": "string"
    },
    "dryRun": {
      "type": "boolean",
      "description": "Report before/after sizes only; writes nothing and spends no budget."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
optimize_assets annotations
{
  "title": "Shrink images",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
speed_compare
Advertised by the server during the last successful anonymous check.
Open-world

Old site vs dotsy site, five Lighthouse categories. get (default): latest result; run: start a test (minutes); history: last 20 results (`id`: one + state; `compareTo`: changes vs another); `auto` (+`on`): daily check after publish; share: public page + image of the latest LIVE result; unshare; fix: apply ticked fixes (or `fixes`: shrink, eager_first_image, video_on_tap, load_later; `scripts` [{ref, load}]) to the DRAFT, re-test. engine psi = Google PageSpeed Insights, lh = dotsy speed test (never call it PageSpeed). Quote only returned scores.

speed_compare input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 40,
      "description": "With action:'history': a result id."
    },
    "on": {
      "type": "boolean",
      "description": "With action:'auto': true or false."
    },
    "site": {
      "type": "string"
    },
    "fixes": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 40
      },
      "maxItems": 8
    },
    "action": {
      "enum": [
        "get",
        "run",
        "fix",
        "auto",
        "share",
        "unshare",
        "history"
      ],
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "scripts": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "ref",
          "load"
        ],
        "properties": {
          "ref": {
            "type": "string",
            "maxLength": 400
          },
          "load": {
            "enum": [
              "later",
              "now"
            ],
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "maxItems": 20
    },
    "compareTo": {
      "type": "string",
      "maxLength": 40,
      "description": "With action:'history' and id: another result id."
    }
  },
  "additionalProperties": false
}
speed_compare annotations
{
  "title": "Speed compare",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
translate_page
Advertised by the server during the last successful anonymous check.

Stage draft copies of pages in another language: copied as is, language set, linked to the original as a translation (menus not copied). Then translate the bodies in one apply_changeset and publish_site. Target path = language folder + source path unless an item sets `path`; an existing path is left untouched.

translate_page input schema
{
  "type": "object",
  "required": [
    "site",
    "lang",
    "paths"
  ],
  "properties": {
    "from": {
      "type": "string",
      "description": "Copy from this translation's path instead of the main-language page."
    },
    "lang": {
      "type": "string",
      "maxLength": 35,
      "description": "Language of the new pages, e.g. de or pt-BR."
    },
    "site": {
      "type": "string"
    },
    "paths": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "object",
            "required": [
              "from",
              "path"
            ],
            "properties": {
              "from": {
                "type": "string"
              },
              "path": {
                "type": "string"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "maxItems": 40,
      "minItems": 1,
      "description": "Source paths, or {from, path} to choose the new path."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
translate_page annotations
{
  "title": "Translate pages",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
start_site
Advertised by the server during the last successful anonymous check.

Start one draft site with no dotsy account. Returns slug + guestToken — pass guestToken on every later tool call until claim_site.

start_site input schema
{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 200
    },
    "purpose": {
      "type": "string",
      "maxLength": 2000
    }
  },
  "additionalProperties": false
}
start_site annotations
{
  "title": "Start guest draft site",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
claim_site
Advertised by the server during the last successful anonymous check.

Move the guest draft onto your signed-in dotsy account. Requires OAuth Connect; pass the guestToken from start_site.

claim_site input schema
{
  "type": "object",
  "required": [
    "guestToken"
  ],
  "properties": {
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "Guest token from start_site (required)."
    }
  },
  "additionalProperties": false
}
claim_site annotations
{
  "title": "Claim guest draft site",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
list_skills
Advertised by the server during the last successful anonymous check.
Advertised read-only

Paige build skills (id + whenToUse). Pull get_skill on demand — do not duplicate in tool text.

list_skills input schema
{
  "type": "object",
  "properties": {}
}
list_skills annotations
{
  "title": "List build skills",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_skill
Advertised by the server during the last successful anonymous check.
Advertised read-only

Skill body + optional questions[]. Accepts an id OR a synonym (e.g. 'list', 'menu') — resolves aliases and suggests near-misses. Start with intake when ambiguous.

get_skill input schema
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Skill id or synonym from list_skills, e.g. intake, clone, list, menu"
    }
  },
  "additionalProperties": false
}
get_skill annotations
{
  "title": "Get build skill",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
submit_feedback
Advertised by the server during the last successful anonymous check.

Optional mid-session feedback (required feedback rides with publish_site).

submit_feedback input schema
{
  "type": "object",
  "required": [
    "site",
    "category",
    "impactPercent",
    "title"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "category": {
      "enum": [
        "missing_tool",
        "blocking_error",
        "extra_round_trips",
        "confusing_response",
        "workaround",
        "other"
      ],
      "type": "string"
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "category",
          "impactPercent",
          "title"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "category": {
            "$ref": "#/properties/category"
          },
          "description": {
            "type": "string"
          },
          "operationId": {
            "type": "string"
          },
          "impactPercent": {
            "type": "integer",
            "maximum": 100,
            "minimum": 1
          },
          "suggestedImprovement": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "maxItems": 20
    },
    "description": {
      "type": "string"
    },
    "impactPercent": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1
    },
    "suggestedImprovement": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
submit_feedback annotations
{
  "title": "Send feedback",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_activity
Advertised by the server during the last successful anonymous check.
Advertised read-only

List site activity or one change's diff (id). Filters: who, state, actor (me incl. requests for you), since, until, limit≤20. Notes from context are visible to everyone on the site: no secrets.

get_activity input schema
{
  "type": "object",
  "required": [
    "slug"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Event id: returns its diff."
    },
    "key": {
      "type": "string",
      "description": "Content key when id is set (default first key in the event)."
    },
    "who": {
      "enum": [
        "all",
        "people",
        "agents"
      ],
      "type": "string",
      "description": "Default all."
    },
    "slug": {
      "type": "string"
    },
    "actor": {
      "type": "string",
      "minLength": 1,
      "description": "Actor id or me."
    },
    "limit": {
      "type": "integer",
      "maximum": 20,
      "minimum": 1,
      "description": "Page size (default 20)."
    },
    "since": {
      "type": "string",
      "description": "ISO date (default 7 days)."
    },
    "state": {
      "enum": [
        "needs_review",
        "reverted"
      ],
      "type": "string",
      "description": "needs_review = agent drafts awaiting a person's publish."
    },
    "until": {
      "type": "string"
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    }
  },
  "additionalProperties": false
}
get_activity annotations
{
  "title": "Site activity",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_versions
Advertised by the server during the last successful anonymous check.
Advertised read-only

List the site's published versions, newest first (who, when, pages, live, restorable). Use before restore_version.

list_versions input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "Page size (default 20)."
    },
    "cursor": {
      "type": "string",
      "description": "nextCursor from the previous call."
    }
  },
  "additionalProperties": false
}
list_versions annotations
{
  "title": "List published versions",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
restore_version
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Bring an earlier published version back as unpublished changes (page content only; routes, menus, images and settings stay). version: from list_versions, or "previous". dryRun: show what would change. Then publish_site (or discard_drafts to undo); publish:true makes it live at once.

restore_version input schema
{
  "type": "object",
  "required": [
    "site",
    "version"
  ],
  "properties": {
    "keys": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 150,
      "minItems": 1,
      "description": "Restore only these content keys (single-page restore: CORE workspaces). Default: the whole version."
    },
    "site": {
      "type": "string"
    },
    "dryRun": {
      "type": "boolean",
      "description": "Only list what would change; writes nothing."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "publish": {
      "type": "boolean",
      "description": "Publish exactly the restored pages at once (live-mode sites). Default false: they stay unpublished changes."
    },
    "version": {
      "anyOf": [
        {
          "type": "integer",
          "exclusiveMinimum": 0
        },
        {
          "type": "string",
          "const": "previous"
        }
      ],
      "description": "A version from list_versions, or \"previous\" (the one before live)."
    },
    "removeAdded": {
      "type": "boolean",
      "description": "Remove pages added since the version. Default true."
    },
    "replaceDrafts": {
      "type": "boolean",
      "description": "Replace unpublished changes on the pages the restore touches. Without it such a restore answers 409 drafts_pending."
    }
  },
  "additionalProperties": false
}
restore_version annotations
{
  "title": "Restore a version",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
undo_publish
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Take back the last publish at once: restores and publishes the previous version of the pages it changed; the undone changes stay unpublished (`restaged`). Live-mode site: nothing is kept, but `redo.version` + restore_version with publish: true brings it back. publishVersion = what publish_site returned. not_latest if another publish landed since. If its publish fails, publish_site finishes it.

undo_publish input schema
{
  "type": "object",
  "required": [
    "site",
    "publishVersion"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "publishVersion": {
      "type": "integer",
      "description": "The version the publish to undo returned.",
      "exclusiveMinimum": 0
    }
  },
  "additionalProperties": false
}
undo_publish annotations
{
  "title": "Undo last publish",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
revert_change
Advertised by the server during the last successful anonymous check.

Undo one activity event by staging the prior version as draft only — call publish_site to go live. Respects AI access.

revert_change input schema
{
  "type": "object",
  "required": [
    "slug",
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Activity event id from get_activity."
    },
    "keys": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 50,
      "description": "Undo only these keys of the change. Default: every key."
    },
    "slug": {
      "type": "string"
    },
    "reason": {
      "type": "string",
      "maxLength": 200,
      "description": "Why — shown next to 'Reverted by …'. Visible to everyone on the site."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "guestToken": {
      "type": "string",
      "minLength": 20,
      "description": "pgg_ guest token; omit when signed in."
    }
  },
  "additionalProperties": false
}
revert_change annotations
{
  "title": "Revert one change",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_account_context
Advertised by the server during the last successful anonymous check.
Advertised read-only

Account, user, memberships[]. Pass workspace on writes when memberships.length > 1.

get_account_context input schema
{
  "type": "object",
  "properties": {
    "workspace": {
      "type": [
        "string",
        "null"
      ],
      "description": "Workspace id or slug; only with several workspaces."
    }
  },
  "additionalProperties": false
}
get_account_context annotations
{
  "title": "Account context",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
report_bug
Advertised by the server during the last successful anonymous check.

Report a dotsy bug, or ask a support question (kind question — AI answer from the help centre). Bugs attach recent errors and return a ticket id.

report_bug input schema
{
  "type": "object",
  "required": [
    "reportedBy",
    "title",
    "actual",
    "severity"
  ],
  "properties": {
    "kind": {
      "enum": [
        "bug",
        "question"
      ],
      "type": "string",
      "default": "bug",
      "description": "bug (default) files a ticket. question runs the help-centre AI turn (use actual as the question text)."
    },
    "page": {
      "type": "string",
      "description": "Route path or content key."
    },
    "site": {
      "type": "string",
      "description": "Site it happened on; omit for an account-level issue. Stored as about.site; filed in dotsy's inbox."
    },
    "tool": {
      "type": "string"
    },
    "model": {
      "type": "string",
      "maxLength": 60,
      "description": "Self-declared, display only."
    },
    "steps": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 300
      },
      "maxItems": 10
    },
    "title": {
      "type": "string",
      "maxLength": 120
    },
    "actual": {
      "type": "string",
      "maxLength": 2000,
      "description": "What happened."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "expected": {
      "type": "string",
      "maxLength": 1000
    },
    "severity": {
      "enum": [
        "blocking",
        "major",
        "minor"
      ],
      "type": "string"
    },
    "reportedBy": {
      "enum": [
        "agent",
        "user"
      ],
      "type": "string",
      "description": "user = the human asked you to report it."
    },
    "requestIds": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 5
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 40,
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "maxItems": 3,
      "description": "Ids from POST /api/v1/support/attachments. No file bytes."
    },
    "operationId": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
report_bug annotations
{
  "title": "Report a dotsy bug",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_report
Advertised by the server during the last successful anonymous check.
Advertised read-only

Your dotsy bug reports. Omit id for the list; pass id for one ticket and its public replies.

get_report input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Omit for your list; pass a ticket id for one report and its replies.",
      "exclusiveMinimum": 0
    },
    "cursor": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_report annotations
{
  "title": "Your bug reports",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
reply_to_report
Advertised by the server during the last successful anonymous check.

Add information or answer dotsy's question on your own report.

reply_to_report input schema
{
  "type": "object",
  "required": [
    "id",
    "text"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "exclusiveMinimum": 0
    },
    "text": {
      "type": "string",
      "maxLength": 2000
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "requestIds": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 5
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 40,
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "maxItems": 3,
      "description": "Ids from POST /api/v1/support/attachments. No file bytes."
    }
  },
  "additionalProperties": false
}
reply_to_report annotations
{
  "title": "Reply to your report",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_popups
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read popups. No id: the list (status, draft vs published, 7-day views, conversion), site rules, look, plan limit. id: one popup (config, body, css, fill-ins, warnings). view templates: the template catalog. view stats + id: views, closes, conversions by day (available:false = no data store yet). preview + id: a draft link and whether it shows.

get_popups input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 40,
      "description": "One popup."
    },
    "site": {
      "type": "string"
    },
    "view": {
      "enum": [
        "templates",
        "stats"
      ],
      "type": "string"
    },
    "range": {
      "enum": [
        "7d",
        "30d",
        "90d"
      ],
      "type": "string",
      "description": "With view stats; default 30d."
    },
    "preview": {
      "type": "boolean",
      "description": "With id: draft preview url + trace."
    },
    "previewAs": {
      "type": "object",
      "description": "What-if for preview: {path, device: desktop|tablet|mobile, visitor: new|returning, now: ISO time, state: {closedDaysAgo, convertedDaysAgo, views, viewsThisVisit}}."
    }
  },
  "additionalProperties": false
}
get_popups annotations
{
  "title": "Popups",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
put_popup
Advertised by the server during the last successful anonymous check.
Advertised destructive

Create or edit a popup (modal, slide-in, fullscreen, announcement bar via show.as barTop/barBottom), or send settings / look for the site-wide rules / look. One target per call. Staged: live at publish_site. New: template + fill, or name + show.as + where.include + body. Edit: send only what changes; objects merge, null removes an optional key, arrays replace. id + status alone starts or stops it; add publish:true to apply it now (use for a stop). get_skill('popups') first.

put_popup input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 40,
      "description": "Edit this popup, or create with this id. Omit to create."
    },
    "css": {
      "type": "string",
      "description": "The popup's own CSS, unprefixed (dotsy scopes it). \"\" clears."
    },
    "who": {
      "type": "object",
      "description": "{device:[desktop,tablet,mobile], visitor:any|new|returning}"
    },
    "body": {
      "type": "string",
      "description": "Full body HTML (replaces it). No <script> or on*=."
    },
    "fill": {
      "type": "object",
      "description": "Fill-ins by name: {headline, text, buttonLink, image:{src,alt}}. Also edits an existing popup.",
      "additionalProperties": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "object",
            "required": [
              "src"
            ],
            "properties": {
              "alt": {
                "type": "string"
              },
              "src": {
                "type": "string"
              }
            },
            "additionalProperties": false
          }
        ]
      }
    },
    "goal": {
      "type": "object",
      "description": "{type:form|click}"
    },
    "html": {
      "type": "string",
      "description": "Same as body; send one."
    },
    "look": {
      "type": "object",
      "description": "Site look: {vars:{font, headingFont, text, heading, bg, link, accent, accentText, radius, shadow, fieldBorder, fieldBg, fieldRadius}, button:{classes, sample}|null, read:{page} re-reads the site, reset}."
    },
    "name": {
      "type": "string",
      "maxLength": 80
    },
    "show": {
      "type": "object",
      "description": "{as: modal|slideIn|fullscreen|barTop|barBottom, position, overlay, style, animation, closeButton, pushContent, closeOnOverlay, closeOnEsc, scrollLock, tablet, phone}"
    },
    "site": {
      "type": "string"
    },
    "when": {
      "type": "object",
      "description": "{any:[{delay:secs}|{scroll:%}|{exit:{sensitivity}}|{click:selector}]}: opens on the first; [] = only from a link or JS."
    },
    "after": {
      "type": "object",
      "description": "After a form send: {do:thanks}|{do:page,path}|{do:close,seconds}|{do:open,popupId}|{do:download,asset}"
    },
    "often": {
      "type": "object",
      "description": "{afterClose, afterConvert: never|nextVisit|{days}, maxViews, perVisit}"
    },
    "where": {
      "type": "object",
      "description": "{include:[paths, one trailing * allowed], exclude:[paths]}; exclude wins."
    },
    "labels": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        },
        "sending": {
          "type": "string"
        },
        "success": {
          "type": "string"
        }
      },
      "description": "Form words, merged; \"\" clears one. Default: site formWords, else built-in.",
      "additionalProperties": false
    },
    "status": {
      "enum": [
        "live",
        "paused"
      ],
      "type": "string",
      "description": "Draft status; live after publish_site."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "publish": {
      "type": "boolean",
      "description": "With id + status only: publish that status now."
    },
    "priority": {
      "type": "integer",
      "maximum": 100,
      "minimum": 0,
      "description": "Higher wins a shared slot (default 50)."
    },
    "schedule": {
      "type": [
        "object",
        "null"
      ],
      "description": "{start?, end?} ISO instants; null removes."
    },
    "settings": {
      "type": "object",
      "description": "Site-wide rules: {slots:{overlay 0-3, barTop 0-1, barBottom 0-1}, maxPerVisit 1-10, mobileGuard: hold full-screen popups on phones}."
    },
    "template": {
      "type": "string",
      "description": "Template id to create from (view templates). Starts paused."
    }
  },
  "additionalProperties": false
}
put_popup annotations
{
  "title": "Save popup",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
delete_popup
Advertised by the server during the last successful anonymous check.
Advertised destructive

Delete a popup. Staged: leaves the live site at publish_site.

delete_popup input schema
{
  "type": "object",
  "required": [
    "site",
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "Popup id from get_popups."
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
delete_popup annotations
{
  "title": "Delete popup",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
add_custom_domain
Advertised by the server during the last successful anonymous check.
Open-world

Connect apex and/or www on a paid plan; starts a DNS connect session.

add_custom_domain input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "hosts": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 2,
      "minItems": 1,
      "description": "1–2 hostnames: apex (example.com) and/or www (www.example.com)."
    },
    "domain": {
      "type": "string",
      "description": "Bare domain when hosts omitted (apex + www); a subdomain connects as-is."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
add_custom_domain annotations
{
  "title": "Add custom domain",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
get_custom_domain_connect
Advertised by the server during the last successful anonymous check.
Advertised read-only

Current connect session and nextAction (browser URL or manual DNS guide).

get_custom_domain_connect input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "sessionId": {
      "type": "string",
      "description": "Connect session id; omit to resume."
    }
  },
  "additionalProperties": false
}
get_custom_domain_connect annotations
{
  "title": "Custom domain setup",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
reapply_custom_domain_oauth
Advertised by the server during the last successful anonymous check.
Open-world

Re-apply DNS with stored Cloudflare OAuth grant (no browser).

reapply_custom_domain_oauth input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
reapply_custom_domain_oauth annotations
{
  "title": "Reapply domain DNS",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
refresh_custom_domain
Advertised by the server during the last successful anonymous check.
Open-world

Poll one hostname until DNS/cert propagates.

refresh_custom_domain input schema
{
  "type": "object",
  "required": [
    "site",
    "host"
  ],
  "properties": {
    "host": {
      "type": "string",
      "minLength": 1,
      "description": "Hostname to refresh, e.g. www.example.com"
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
refresh_custom_domain annotations
{
  "title": "Check custom domain",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
wait_for_custom_domain
Advertised by the server during the last successful anonymous check.
Open-world

Poll one hostname until it is connected or the timeout is reached.

wait_for_custom_domain input schema
{
  "type": "object",
  "required": [
    "site",
    "host"
  ],
  "properties": {
    "host": {
      "type": "string",
      "minLength": 1,
      "description": "Hostname to wait for, e.g. www.example.com"
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "timeoutSec": {
      "type": "integer",
      "maximum": 600,
      "minimum": 1,
      "description": "Max seconds to wait (default 300, max 600)."
    },
    "intervalSec": {
      "type": "integer",
      "maximum": 60,
      "minimum": 10,
      "description": "Seconds between polls (default 30, min 10, max 60)."
    }
  },
  "additionalProperties": false
}
wait_for_custom_domain annotations
{
  "title": "Wait for custom domain",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
set_primary_custom_domain
Advertised by the server during the last successful anonymous check.
Open-world

Set the canonical host (301 target).

set_primary_custom_domain input schema
{
  "type": "object",
  "required": [
    "site",
    "host"
  ],
  "properties": {
    "host": {
      "type": "string",
      "minLength": 1,
      "description": "Connected hostname to make primary"
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
set_primary_custom_domain annotations
{
  "title": "Set primary domain",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
list_custom_domains
Advertised by the server during the last successful anonymous check.
Advertised read-only

List all custom hostnames and connection status for the site. A connected bare domain with redirectorState "attention" is NOT redirecting (see `attention`).

list_custom_domains input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
list_custom_domains annotations
{
  "title": "List custom domains",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
set_up_bare_domain
Advertised by the server during the last successful anonymous check.
Open-world

Set up an EXISTING bare domain (example.com) that doesn't open the site (www works). Refuses if dotsy already serves it; deletes nothing. domain.dnsRecords: (1) _acme-challenge CNAME (apex_cert); (2) once issueState is issued, replace the old @ records (action delete) with the A/AAAA rows. cancel:true (while canCancelSetUp) restores everything; 409 too_late_to_stop once @ points at dotsy. Other 409: www_not_connected, already_serving, not_supported, not_needed.

set_up_bare_domain input schema
{
  "type": "object",
  "required": [
    "site",
    "host"
  ],
  "properties": {
    "host": {
      "type": "string",
      "minLength": 1,
      "description": "The bare domain, e.g. example.com"
    },
    "site": {
      "type": "string"
    },
    "cancel": {
      "type": "boolean",
      "description": "Stop a set-up that has not gone live and restore the previous state exactly"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
set_up_bare_domain annotations
{
  "title": "Set up bare domain",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
remove_custom_domain
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Remove one custom hostname from the site.

remove_custom_domain input schema
{
  "type": "object",
  "required": [
    "site",
    "host"
  ],
  "properties": {
    "host": {
      "type": "string",
      "minLength": 1,
      "description": "Hostname to remove"
    },
    "site": {
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    },
    "alsoRemoveApex": {
      "type": "boolean",
      "description": "Also remove bare domain"
    }
  },
  "additionalProperties": false
}
remove_custom_domain annotations
{
  "title": "Remove custom domain",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}
list_form_submissions
Advertised by the server during the last successful anonymous check.
Advertised read-only

List form submissions (metadata + bounded field preview — not full PII). Works on kv and do-sqlite backends.

list_form_submissions input schema
{
  "type": "object",
  "required": [
    "site",
    "form"
  ],
  "properties": {
    "q": {
      "type": "string",
      "description": "Search reply-to email (indexed)"
    },
    "form": {
      "type": "string",
      "minLength": 1,
      "description": "Form id from dotsy-config, e.g. contact"
    },
    "site": {
      "type": "string"
    },
    "toMs": {
      "type": "integer"
    },
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1
    },
    "cursor": {
      "type": "string"
    },
    "fromMs": {
      "type": "integer"
    }
  },
  "additionalProperties": false
}
list_form_submissions annotations
{
  "title": "List form submissions",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
form_recipients
Advertised by the server during the last successful anonymous check.
Open-world

Who a site's forms may email. A form's `to` address gets submissions only when it is a verified site member or confirmed a one-click link we email it (no account needed). action: `list` (confirmed + waiting addresses), `status` (one address: member | confirmed | pending | expired | unconfirmed), `request` (email the confirm link; 7 days, single use; max 3 per address, 20 per site and 50 per account a day), `revoke` (stop form emails to a confirmed address). Never ask the user for the link.

form_recipients input schema
{
  "type": "object",
  "required": [
    "site",
    "action"
  ],
  "properties": {
    "site": {
      "type": "string"
    },
    "email": {
      "type": "string",
      "description": "The address (required for status, request, revoke)"
    },
    "action": {
      "enum": [
        "list",
        "status",
        "request",
        "revoke"
      ],
      "type": "string"
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
form_recipients annotations
{
  "title": "Manage form email recipients",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
get_form_submission
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read one form submission with the full field payload (explicit PII access — use only when needed).

get_form_submission input schema
{
  "type": "object",
  "required": [
    "site",
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Submission id from list_form_submissions"
    },
    "site": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
get_form_submission annotations
{
  "title": "Read form submission",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_notifications
Advertised by the server during the last successful anonymous check.
Advertised read-only

Account notification inbox (Needs you · Updates). Summary-first: tab counts plus compact rows with nextAction (MCP tool or dashboard URL). OAuth person only — not API keys.

list_notifications input schema
{
  "type": "object",
  "properties": {
    "tab": {
      "enum": [
        "needsYou",
        "updates"
      ],
      "type": "string",
      "description": "Tab filter (default: both classes in one list)."
    },
    "slug": {
      "type": "string",
      "description": "Site slug — required when scope is site."
    },
    "scope": {
      "enum": [
        "all",
        "workspace",
        "site"
      ],
      "type": "string",
      "description": "Scope filter (default all workspaces you belong to)."
    },
    "unreadOnly": {
      "type": "boolean",
      "description": "When true, only unread rows."
    }
  },
  "additionalProperties": false
}
list_notifications annotations
{
  "title": "List notifications",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
mark_notifications_read
Advertised by the server during the last successful anonymous check.

Mark Update notifications read (ids or all). Needs-you Actions refuse with 422 action_not_markable: fix the cause (it clears itself); only the person can dismiss them in the dashboard.

mark_notifications_read input schema
{
  "type": "object",
  "properties": {
    "all": {
      "type": "boolean",
      "description": "Mark every Update read across all your workspaces."
    },
    "ids": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 100,
      "minItems": 1,
      "description": "Update row ids from list_notifications (max 100)."
    },
    "context": {
      "type": "string",
      "minLength": 1,
      "description": "Why this call."
    }
  },
  "additionalProperties": false
}
mark_notifications_read annotations
{
  "title": "Mark notifications read",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_my_sites
Advertised by the server during the last successful anonymous check.
Advertised read-only

List your dotsy sites. Renders a site-picker for humans; agent reads structuredContent. Use to choose a site — not for editing content (use edit_page) or verify-only checks (use preview_page). Defaults to your active workspace; pass workspace (org id or slug from get_account_context memberships) to list another workspace's sites without switching the dashboard session.

list_my_sites input schema
{
  "type": "object",
  "properties": {
    "q": {
      "type": "string"
    },
    "limit": {
      "type": "integer"
    },
    "cursor": {
      "type": "string"
    },
    "status": {
      "enum": [
        "pinned",
        "pending",
        "new",
        "issues",
        "live",
        "draft"
      ],
      "type": "string",
      "description": "Dashboard section, newest first; page with limit + cursor."
    },
    "workspace": {
      "type": [
        "string",
        "null"
      ],
      "description": "Workspace id or slug; only with several workspaces."
    }
  },
  "additionalProperties": false
}
list_my_sites annotations
{
  "title": "Your sites",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_pages
Advertised by the server during the last successful anonymous check.
Advertised read-only

List pages on a site — route settings (path/title/navLabel/purpose) by default, one row per route. Renders a page-picker for humans (redirect and worker routes left out there — nothing to open in edit_page); agent reads structuredContent. Use after picking a site — not for editing (use edit_page) or verify-only checks (use preview_page). Pass view:'pages' to group by layout instead — filters, what each page places, indexing progress; use it for 'what pages use this layout' or 'is this page indexed yet'. Add facts for every page's title/description/h1/canonical/words/links in one call. Paginated — pass cursor (from nextCursor) for more; partial:true means this page is a window, not the full route set.

list_pages input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "q": {
      "type": "string",
      "description": "Only with view:'pages'. Case-insensitive substring match on path or title."
    },
    "site": {
      "type": "string",
      "description": "Site slug."
    },
    "view": {
      "enum": [
        "pages"
      ],
      "type": "string",
      "description": "pages: group by layout (enables layout/noLayout/q/facts, adds structure + indexing). Omit for per-route rows."
    },
    "facts": {
      "enum": [
        "seo",
        "page"
      ],
      "type": "string",
      "description": "Only with view:'pages'. seo: description + lengths, stored scan (100/call; just-written pages may lag). page: live read, adds h1, canonical, words, links, assets (25/call). Use cursor."
    },
    "limit": {
      "type": "integer",
      "maximum": 1000,
      "minimum": 1,
      "description": "Pages per page (server default applies when omitted)."
    },
    "cursor": {
      "type": "string",
      "description": "Resume from a prior response's nextCursor."
    },
    "layout": {
      "type": "string",
      "description": "Only with view:'pages'. Layout file key (layouts/store.html or bare 'store'). Exclusive with noLayout."
    },
    "noLayout": {
      "type": "boolean",
      "description": "Only with view:'pages'. Pages with no layout. Exclusive with layout."
    }
  },
  "additionalProperties": false
}
list_pages annotations
{
  "title": "Site pages",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
edit_page
Advertised by the server during the last successful anonymous check.
Advertised read-only

Open the interactive page canvas to change content: the user clicks an element, then you call patch_content. Use when the intent is editing — not for verify-only checks (use preview_page).

edit_page input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Route path (default /)."
    },
    "site": {
      "type": "string",
      "description": "Site slug."
    },
    "stage": {
      "enum": [
        "draft",
        "published"
      ],
      "type": "string",
      "description": "Preview stage. Default draft; published is planned but not supported yet."
    }
  },
  "additionalProperties": false
}
edit_page annotations
{
  "title": "Page canvas",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_site_build_progress
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read-only build progress view (import, structure/adapt jobs). structuredContent.forHumans holds the headline and progress. import_site_from_url points here when its job is still running; get_site has the full state.

get_site_build_progress input schema
{
  "type": "object",
  "required": [
    "site"
  ],
  "properties": {
    "site": {
      "type": "string",
      "description": "Site slug."
    }
  },
  "additionalProperties": false
}
get_site_build_progress annotations
{
  "title": "Build progress",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

10 advertised

publish_site

Advertised by the server during the last successful anonymous check.

Live link and what's left after a publish

publish_site URI
ui://views/apps-sdk/publish-card.html?v=e9489b7c
publish_site

Advertised by the server during the last successful anonymous check.

Live link and what's left after a publish

publish_site URI
ui://views/ext-apps/publish-card.html?v=e9489b7c
list_my_sites

Advertised by the server during the last successful anonymous check.

Site picker cards

list_my_sites URI
ui://views/apps-sdk/site-picker.html?v=618bae29
list_my_sites

Advertised by the server during the last successful anonymous check.

Site picker cards

list_my_sites URI
ui://views/ext-apps/site-picker.html?v=618bae29
list_pages

Advertised by the server during the last successful anonymous check.

Page picker cards

list_pages URI
ui://views/apps-sdk/page-picker.html?v=c55d1132
list_pages

Advertised by the server during the last successful anonymous check.

Page picker cards

list_pages URI
ui://views/ext-apps/page-picker.html?v=c55d1132
edit_page

Advertised by the server during the last successful anonymous check.

Interactive page canvas (srcdoc)

edit_page URI
ui://views/apps-sdk/page-canvas.html?v=ce03bf8e
edit_page

Advertised by the server during the last successful anonymous check.

Interactive page canvas (srcdoc)

edit_page URI
ui://views/ext-apps/page-canvas.html?v=ce03bf8e
get_site_build_progress

Advertised by the server during the last successful anonymous check.

Spinner, quote, and progress headline

get_site_build_progress URI
ui://views/apps-sdk/build-theater.html?v=2c4cd60f
get_site_build_progress

Advertised by the server during the last successful anonymous check.

Spinner, quote, and progress headline

get_site_build_progress URI
ui://views/ext-apps/build-theater.html?v=2c4cd60f

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (108 of 108 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 2026-11-28: 3 of 3 checks answered
  26. 2026-11-29: 4 of 4 checks answered
  27. 2026-11-30: 4 of 4 checks answered
  28. 2026-12-01: 4 of 4 checks answered
  29. 2026-12-02: 4 of 4 checks answered
  30. 2026-12-03: 4 of 4 checks answered
  31. 2026-12-04: 4 of 4 checks answered
  32. 2026-12-05: 4 of 4 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
3 of 3 (100%)
Average latency
1410 ms
95th percentile latency
1580 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1356 ms · metadata changed · 124 tool(s), 10 resource(s), 0 resource template(s)
  • · probe · passed · 1268 ms · metadata changed · 120 tool(s), 10 resource(s), 0 resource template(s)
  • · probe · passed · 1605 ms · metadata changed · 120 tool(s), 8 resource(s), 0 resource template(s)
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http dotsy-mcp https://mcp.dotsy.ai/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add dotsy-mcp --url https://mcp.dotsy.ai/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable dotsy-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "dotsy-mcp": {
      "url": "https://mcp.dotsy.ai/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "dotsy-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.dotsy.ai/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start dotsy-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "dotsy-mcp": {
      "type": "http",
      "url": "https://mcp.dotsy.ai/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http dotsy-mcp https://mcp.dotsy.ai/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.dotsy.ai/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "dotsy-mcp": {
      "serverUrl": "https://mcp.dotsy.ai/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Dotsy MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Dotsy MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing