dotsy is an MCP server published by ai.dotsy, hosted at mcp.dotsy.ai. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 121 tools, including create_site, get_site, update_brief, get_plan, get_analytics.
Build and publish static sites on dotsy with draft-first MCP tools, OAuth Connect, and API keys.
2 connections through 4 shared values. Tap any node.
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.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | |
| title | string | |
| context | string | Why this call (activity log). |
| purpose | string | |
| workspace | ["string","null"] | Workspace org id or slug (multi-workspace only; omit if one workspace). |
| editingMode | string |
Too large to show here.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| 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 | string | one of ["fail","auto-suffix","merge"] |
| keyConvention | string | one of ["flat","directory"] |
{
"name": "create_site",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"minLength": 1
},
"title": {
"type": "string",
"maxLength": 200
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"purpose": {
"type": "string",
"maxLength": 280,
"minLength": 5
},
"workspace": {
"type": [
"string",
"null"
],
"description": "Workspace org id or slug (multi-workspace only; omit if one workspace)."
},
"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
},
"annotations": {
"title": "Create site",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Site detail, stats, publicUrl, brief head (default-on), and readiness flags. pages[] is a ~25-entry head by default (stats.pages has the true count); pass pages: true for the full array (capped at 1000), or list_content/get_site_manifest. Large sites (200+ pages): list_pages is paginated (cursor) or use get_site_manifest for the full route set.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| brief | boolean | Include parsed brief head (default true). |
| pages | boolean | Return the full pages[] array instead of the default ~25-entry head (server-capped at 1000 either way). Default false. |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
{
"name": "get_site",
"description": "Site detail, stats, publicUrl, brief head (default-on), and readiness flags. pages[] is a ~25-entry head by default (stats.pages has the true count); pass pages: true for the full array (capped at 1000), or list_content/get_site_manifest. Large sites (200+ pages): list_pages is paginated (cursor) or use get_site_manifest for the full route set.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"brief": {
"type": "boolean",
"description": "Include parsed brief head (default true)."
},
"pages": {
"type": "boolean",
"description": "Return the full pages[] array instead of the default ~25-entry head (server-capped at 1000 either way). Default false."
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Site details",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Update `_intent/site.md` (site brief) or a page brief when `page` is set. See field descriptions for rules, notes, and head enums.
| Parameter | Type | Description |
|---|---|---|
| body | string | Replace narrative body (site ≤50k chars; page ≤10k). |
| goal | string | Current goal (site ≤4k chars; page ≤2k). |
| head | object | 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. Business facts reach live pages at the next publish. Authors are not part of the brief: `authors` answers 400 `authors_moved` — c… |
| page | string | Content key — targets that page's brief (`_intent/pages/<key>.md`). Omit for the site brief. |
| site * | string | Site slug, e.g. acme-studio |
| notes | any | 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 | array | Rules & guidelines lines to add or change (upsert by id — send only fields you change; omitted fields keep their stored value; check: null turns a Rule into a Guideline). A supported check (title-max, title-suffix, description-length, one-h1, banned-words, image-alt, allowed-colors, allowed-fonts) m… |
| context | string | Why this call (activity log). |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
| removeRules | array | Ids of rules or guidelines to remove (site brief only). |
| appendHandoff | string | Append a hand-off log line — site brief only; ignored when page is set. |
{
"name": "update_brief",
"description": "Update `_intent/site.md` (site brief) or a page brief when `page` is set. See field descriptions for rules, notes, and head enums.",
"inputSchema": {
"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"
}
]
},
"rules": {
"anyOf": [
{
"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": "null"
}
]
},
"level": {
"enum": [
"block",
"warn"
],
"type": "string"
},
"locked": {
"type": "boolean"
}
},
"additionalProperties": false
},
"maxItems": 30
},
{
"type": "null"
}
]
},
"voice": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"design": {
"anyOf": [
{
"type": "object",
"properties": {
"hero": {
"type": "string",
"maxLength": 80
},
"type": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 6
},
{
"type": "null"
}
]
},
"layout": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
]
},
"palette": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 8
},
{
"type": "null"
}
]
},
"direction": {
"type": "string",
"maxLength": 80
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Site: palette, type, layout only. Page: direction, hero only."
},
"purpose": {
"type": "string",
"maxLength": 280
},
"audience": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"business": {
"anyOf": [
{
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"logo": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"name": {
"anyOf": [
{
"type": "string",
"maxLength": 120,
"minLength": 1
},
{
"type": "null"
}
]
},
"type": {
"anyOf": [
{
"enum": [
"Organization",
"LocalBusiness",
"ProfessionalService",
"Store",
"Restaurant",
"Dentist",
"MedicalBusiness",
"HomeAndConstructionBusiness"
],
"type": "string"
},
{
"type": "null"
}
]
},
"email": {
"anyOf": [
{
"type": "string",
"format": "email",
"maxLength": 120
},
{
"type": "null"
}
]
},
"hours": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"phone": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"sameAs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"maxLength": 300
},
"maxItems": 8
},
{
"type": "null"
}
]
},
"address": {
"anyOf": [
{
"type": "object",
"properties": {
"city": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
},
"region": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
},
"street": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
},
"country": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
},
"postalCode": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"areaServed": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
},
"foundingYear": {
"anyOf": [
{
"type": "integer",
"maximum": 2100,
"minimum": 1000
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"sections": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"maxLength": 60
},
"maxItems": 20
},
{
"type": "null"
}
]
},
"priorities": {
"anyOf": [
{
"type": "object",
"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
},
{
"type": "null"
}
]
},
"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. Business facts reach live pages at the next publish. Authors are not part of the brief: `authors` answers 400 `authors_moved` — create them as items of the Authors collection (put_post at authors/<slug>.html).",
"additionalProperties": true
},
"page": {
"type": "string",
"description": "Content key — targets that page's brief (`_intent/pages/<key>.md`). Omit for the site brief."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"notes": {
"anyOf": [
{
"type": "string",
"maxLength": 4000
},
{
"type": "object",
"properties": {
"seo": {
"anyOf": [
{
"type": "string",
"maxLength": 4000
},
{
"type": "null"
}
]
},
"design": {
"anyOf": [
{
"type": "string",
"maxLength": 4000
},
{
"type": "null"
}
]
},
"content": {
"anyOf": [
{
"type": "string",
"maxLength": 4000
},
{
"type": "null"
}
]
}
},
"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": {
"$ref": "#/properties/head/properties/rules/anyOf/0/items"
},
"maxItems": 30,
"description": "Rules & guidelines lines to add or change (upsert by id — send only fields you change; omitted fields keep their stored value; check: null turns a Rule into a Guideline). A supported check (title-max, title-suffix, description-length, one-h1, banned-words, image-alt, allowed-colors, allowed-fonts) makes a Rule — use level block for hard musts (banned words, title suffix), warn for softer checks. locked can only be set by a person; locked: false unlocks."
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
},
"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": "Append a hand-off log line — site brief only; ignored when page is set."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Update site brief",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Read-only workspace plan and pooled usage; pass slug for this site's add-ons. Call before a large build.
| Parameter | Type | Description |
|---|---|---|
| slug | string | Optional site slug — adds a per-site add-ons segment to the summary. |
{
"name": "get_plan",
"description": "Read-only workspace plan and pooled usage; pass slug for this site's add-ons. Call before a large build.",
"inputSchema": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Optional site slug — adds a per-site add-ons segment to the summary."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Workspace plan and usage",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read-only traffic overview (default) or full breakdowns via include[]; optional bot id for crawler page drill-down.
| Parameter | Type | Description |
|---|---|---|
| bot | string | Crawler bot id (e.g. googlebot, gptbot) → that bot's top crawled pages under `crawlerBotPages`. |
| site * | string | Site slug, e.g. acme-studio |
| range | string | Time window; default 30d. |
| include | array | 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. |
{
"name": "get_analytics",
"description": "Read-only traffic overview (default) or full breakdowns via include[]; optional bot id for crawler page drill-down.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"bot": {
"type": "string",
"description": "Crawler bot id (e.g. googlebot, gptbot) → that bot's top crawled pages under `crawlerBotPages`."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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
},
"annotations": {
"title": "Site analytics",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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 provider per site. Use this, not a pasted GA4 gtag snippet. Other tags (GTM, ads pixels, Clarity, verification <meta>) go in set_custom_code.
| Parameter | Type | Description |
|---|---|---|
| host | string | Umami only: https origin of your Umami instance. |
| site * | string | Site slug, e.g. acme-studio |
| domain | string | Plausible only: the site domain registered in Plausible, e.g. example.com. |
| siteId | string | Fathom only: site ID (uppercase letters/digits). |
| context | string | Why this call (activity log). |
| provider * | string | one of ["ga4","plausible","fathom","umami","none"] |
| websiteId | string | Umami only: website ID (UUID). |
| loadTiming | string | GA4: immediate counts every visit; after-load is faster but misses visits under ~1 s without interaction. Default: after-load. |
| measurementId | string | GA4 only: measurement ID, e.g. G-ABC123XYZ. |
{
"name": "set_analytics_provider",
"description": "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 provider per site. Use this, not a pasted GA4 gtag snippet. Other tags (GTM, ads pixels, Clarity, verification <meta>) go in set_custom_code.",
"inputSchema": {
"type": "object",
"required": [
"site",
"provider"
],
"properties": {
"host": {
"type": "string",
"description": "Umami only: https origin of your Umami instance."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"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
},
"annotations": {
"title": "Set analytics provider",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Read the site-wide custom code: `draft` (what the next publish puts live) and `published` (what visitors get now) for both boxes — head (before </head>) and body (before </body>) — plus `pending`, `runOn` and `maxChars`.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
{
"name": "get_custom_code",
"description": "Read the site-wide custom code: `draft` (what the next publish puts live) and `published` (what visitors get now) for both boxes — head (before </head>) and body (before </body>) — plus `pending`, `runOn` and `maxChars`.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Site custom code",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Set site-wide custom code: `head` goes before </head> and `body` before </body> on every page, on every layout. Saved as a draft; goes live with the next publish_site (on a live-mode site the dashboard publishes only the code). Never runs in the editor. ≤20,000 characters per box, stored as sent; `warnings` flags likely mistakes (unclosed <script>, <html>/<head>/<body> tags, canonical or robots tag, GA4 already connected) without rejecting. Send only the boxes you change; "" clears one. `runOn` ('live' default; 'live-and-preview' adds the editor preview) applies at once — agents limited to drafts can't set it. For tag managers (GTM), Clarity, ads pixels, chat widgets, verification tags; plain GA4/Plausible/Fathom/Umami: set_analytics_provider.
| Parameter | Type | Description |
|---|---|---|
| body | string | Code for before </body> on every page. "" clears it. |
| head | string | Code for before </head> on every page. "" clears it. |
| site * | string | Site slug, e.g. acme-studio |
| runOn | string | Where it runs: 'live' (live site only) or 'live-and-preview'. Applies at once. |
| context | string | Why this call (activity log). |
{
"name": "set_custom_code",
"description": "Set site-wide custom code: `head` goes before </head> and `body` before </body> on every page, on every layout. Saved as a draft; goes live with the next publish_site (on a live-mode site the dashboard publishes only the code). Never runs in the editor. ≤20,000 characters per box, stored as sent; `warnings` flags likely mistakes (unclosed <script>, <html>/<head>/<body> tags, canonical or robots tag, GA4 already connected) without rejecting. Send only the boxes you change; \"\" clears one. `runOn` ('live' default; 'live-and-preview' adds the editor preview) applies at once — agents limited to drafts can't set it. For tag managers (GTM), Clarity, ads pixels, chat widgets, verification tags; plain GA4/Plausible/Fathom/Umami: set_analytics_provider.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set site custom code",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Set the favicon from a square image asset. Draft until publish.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| remove | boolean | |
| context | string | Why this call (activity log). |
| variant | string | one of ["default","dark"] |
| assetKey | string |
{
"name": "set_site_icon",
"description": "Set the favicon from a square image asset. Draft until publish.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"remove": {
"type": "boolean"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"variant": {
"enum": [
"default",
"dark"
],
"type": "string"
},
"assetKey": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set site icon",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Update site settings: title, keyConvention, editingMode, signature ("Made with dotsy" badge; live immediately), trailingSlash, ownSeoFiles, aiTrain, acceptIssues and the language settings. Slug is the hostname — use rename_site. Set editingMode 'staged' before handing the editor to a person via start_edit_session's draftEditorUrl.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| title | string | |
| aiTrain | boolean | Whether AI training crawlers may use the live site. true (the default) allows them. false asks them not to. Live immediately. |
| context | string | Why this call (activity log). |
| decline | array | siteState.next.step ids the person declined; all = no more suggestions. |
| hreflang | string | "auto" (default) tells search engines which pages are translations of each other; "off" stops that. Applies at publish. |
| languages | array | The OTHER languages (not the main one); replaces the list. Needs a main language. Applies at publish. |
| signature | object | "Made with dotsy" badge. Changes go live at once, no publish needed. |
| editingMode | string | 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. |
| ownSeoFiles | boolean | Use the site's own robots.txt even if it blocks the whole site (Disallow: /), and its static sitemap.xml, which replaces the generated one. A robots.txt without Disallow: / is always used. Applies at the next publish. |
| acceptIssues | boolean | true keeps the remaining SEO and page-health warnings as they are (get_site_tasks hides them until a check finds more); false undoes. Needs verify_page first. Ask the person first. |
| keyConvention | string | one of ["flat","directory"] |
| trailingSlash | string | Page URL form. 'ignore' (default): /blog and /blog/ both serve the page. 'never': /blog/ 301s to /blog. 'always': /blog 301s to /blog/. The canonical tag and sitemap use the same form. Live immediately, no publish needed. |
| defaultLanguage | any | The site's main language, a code like "en" (invalid → 400 invalid_language). null removes every language setting. Takes effect at the next publish. |
{
"name": "update_site",
"description": "Update site settings: title, keyConvention, editingMode, signature (\"Made with dotsy\" badge; live immediately), trailingSlash, ownSeoFiles, aiTrain, acceptIssues and the language settings. Slug is the hostname — use rename_site. Set editingMode 'staged' before handing the editor to a person via start_edit_session's draftEditorUrl.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"title": {
"type": "string",
"maxLength": 200
},
"aiTrain": {
"type": "boolean",
"description": "Whether AI training crawlers may use the live site. true (the default) allows them. false asks them not to. Live immediately."
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"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) tells search engines which pages are translations of each other; \"off\" stops that. Applies at publish."
},
"languages": {
"type": "array",
"items": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 35,
"minLength": 1,
"description": "Language code, for example \"es\" or \"pt-BR\"."
},
"image": {
"type": "string",
"maxLength": 300,
"description": "Asset key of a flag or icon the switcher can show."
},
"label": {
"type": "string",
"maxLength": 60,
"description": "Name shown in the switcher (default: the language's own name)."
},
"prefix": {
"anyOf": [
{
"type": "string",
"maxLength": 60
},
{
"type": "null"
}
],
"description": "Folder for this language, like \"/es\" (default \"/\" + code). null = no folder."
},
"publish": {
"type": "boolean",
"description": "false hides this language from translation links, search alternates and the switcher; pages still serve. Default true."
}
},
"additionalProperties": false
},
"maxItems": 19,
"description": "The OTHER languages (not the main one); replaces the list. Needs a main language. Applies at publish."
},
"signature": {
"type": "object",
"properties": {
"mark": {
"enum": [
"logo",
"dot"
],
"type": "string",
"description": "Resting look: 'dot' (senna dot, default) or 'logo' (dotsy logo)."
},
"side": {
"enum": [
"right",
"left"
],
"type": "string",
"description": "Preferred bottom corner: 'right' (default) or 'left'. If something covers it, the badge moves to the other corner, the centre or above it."
},
"reveal": {
"enum": [
"pill",
"seal",
"eye"
],
"type": "string",
"description": "'seal' (stamp on hover, default), 'pill' (label on hover) or 'eye' (seal always open, its dot follows the pointer)."
},
"enabled": {
"type": "boolean",
"description": "Show the badge in a bottom corner of every published page."
}
},
"description": "\"Made with dotsy\" badge. Changes go live at once, no publish needed.",
"additionalProperties": false
},
"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."
},
"ownSeoFiles": {
"type": "boolean",
"description": "Use the site's own robots.txt even if it blocks the whole site (Disallow: /), and its static sitemap.xml, which replaces the generated one. A robots.txt without Disallow: / is always used. Applies at the next publish."
},
"acceptIssues": {
"type": "boolean",
"description": "true keeps the remaining SEO and page-health warnings as they are (get_site_tasks hides them until a check finds more); false undoes. Needs verify_page first. Ask the person first."
},
"keyConvention": {
"enum": [
"flat",
"directory"
],
"type": "string"
},
"trailingSlash": {
"enum": [
"ignore",
"never",
"always"
],
"type": "string",
"description": "Page URL form. 'ignore' (default): /blog and /blog/ both serve the page. 'never': /blog/ 301s to /blog. 'always': /blog 301s to /blog/. The canonical tag and sitemap use the same form. Live immediately, no publish needed."
},
"defaultLanguage": {
"anyOf": [
{
"type": "string",
"maxLength": 35
},
{
"type": "null"
}
],
"description": "The site's main language, a code like \"en\" (invalid → 400 invalid_language). null removes every language setting. Takes effect at the next publish."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Update site settings",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Rename the site slug (hostname {slug}.dotsy.site). Owner-only; use the returned slug afterwards. Published site: the old slug redirects on the API (301 reads, 308 writes) and the old host 301s, both reserved until delete or rename-back. Never published: the old slug 404s and its hostname is released (create_site can reuse it). Stored HTML URLs are not rewritten (use find_replace).
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| newSlug * | string | New slug |
{
"name": "rename_site",
"description": "Rename the site slug (hostname {slug}.dotsy.site). Owner-only; use the returned slug afterwards. Published site: the old slug redirects on the API (301 reads, 308 writes) and the old host 301s, both reserved until delete or rename-back. Never published: the old slug 404s and its hostname is released (create_site can reuse it). Stored HTML URLs are not rewritten (use find_replace).",
"inputSchema": {
"type": "object",
"required": [
"site",
"newSlug"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"newSlug": {
"type": "string",
"minLength": 1,
"description": "New slug"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Rename site address",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Publish draft to live. handoff required; feedback optional. Warnings (form_unwired, store, SEO) are advisory: tell the user. Site-check errors return a publish_issues decision. A request to publish is not agreement to publish those errors: use its publishWithIssues code only after the user has seen them and said to publish anyway; if you can't ask, fix them or stop and report. If a fix needs text or a link target you don't know, ask the user.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| pages | array | Publish only these pages (≤50 route paths, e.g. /pricing) — use when a publish returns rules_not_fully_checked; publish the rest in further batches. |
| context | string | Why this call (activity log). |
| handoff * | string | One sentence: decisions, preferences, or open threads for the next session (appended to the brief). |
| feedback | object | Optional session feedback; tool intents are attached automatically. |
| onlyReady | boolean | Publish only changes marked ready (server hashes); not with pages. Skips the publish_confirm fingerprint. |
| openItems | string | openItems: ignored. The owner's own choice is recorded on their dashboard. |
| publishWithIssues | ["string","boolean"] | The publish_issues code (see the tool description). true does not work. |
| acknowledgeSeoWarnings | boolean | Only satisfies the brief seo=must block, never publish_issues. |
| confirmedDraftFingerprint | string | Required when get_draft_status returned requiredDecision (publish_confirm); the current fingerprint from get_draft_status. |
{
"name": "publish_site",
"description": "Publish draft to live. handoff required; feedback optional. Warnings (form_unwired, store, SEO) are advisory: tell the user. Site-check errors return a publish_issues decision. A request to publish is not agreement to publish those errors: use its publishWithIssues code only after the user has seen them and said to publish anyway; if you can't ask, fix them or stop and report. If a fix needs text or a link target you don't know, ask the user.",
"inputSchema": {
"type": "object",
"required": [
"site",
"handoff"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"pages": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 50,
"description": "Publish only these pages (≤50 route paths, e.g. /pricing) — use when a publish returns rules_not_fully_checked; publish the rest in further batches."
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"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",
"description": "missing_tool | blocking_error | extra_round_trips | confusing_response | workaround | other"
},
"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); the current fingerprint from get_draft_status."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Publish site",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}What needs fixing on a site, from stored checks. Call after writes, before publish_site.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
{
"name": "get_site_tasks",
"description": "What needs fixing on a site, from stored checks. Call after writes, before publish_site.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Site open tasks",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Pending draft changes: content keys and routes with status. May include requiredDecision (publish_confirm) before publish_site.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
{
"name": "get_draft_status",
"description": "Pending draft changes: content keys and routes with status. May include requiredDecision (publish_confirm) before publish_site.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Draft status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Review queue: what changed and isn't live yet. list (counts first) → get one item (hidden changes, optional diff, bodyChanged: false means only title/meta/route fields changed — review hidden, not the visible page) → mark_ready / unmark (≤50 ids). Then publish_site onlyReady:true. Drafts-only sites: a person marks.
| Parameter | Type | Description |
|---|---|---|
| id | string | get: item id from list (p:/path, s:key, m:menus) |
| all | boolean | unmark: clear every ready mark |
| ids | array | mark_ready / unmark: item ids from list (≤50) |
| diff | boolean | get: include first diff rows |
| site * | string | Site slug, e.g. acme-studio |
| state | string | list filter (default all) |
| action | string | list (default) · get one item · mark_ready · unmark |
| cursor | string | list pagination (full only) |
| detail | string | list detail (default summary) |
| dryRun | boolean | mark_ready / unmark: preview only |
| context | string | Why this call (activity log). |
{
"name": "review_changes",
"description": "Review queue: what changed and isn't live yet. list (counts first) → get one item (hidden changes, optional diff, bodyChanged: false means only title/meta/route fields changed — review hidden, not the visible page) → mark_ready / unmark (≤50 ids). Then publish_site onlyReady:true. Drafts-only sites: a person marks.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Review changes queue",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Discard unpublished drafts: all (omit key/keys/routes/menus), one content key (key), menu draft only (menus:true), or a selection (keys, routes). Destructive — check get_draft_status first.
| Parameter | Type | Description |
|---|---|---|
| key | string | |
| keys | array | |
| site * | string | Site slug, e.g. acme-studio |
| menus | boolean | |
| routes | array | |
| context | string | Why this call (activity log). |
{
"name": "discard_drafts",
"description": "Discard unpublished drafts: all (omit key/keys/routes/menus), one content key (key), menu draft only (menus:true), or a selection (keys, routes). Destructive — check get_draft_status first.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"key": {
"type": "string",
"minLength": 1
},
"keys": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"menus": {
"type": "boolean",
"const": true
},
"routes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Discard drafts",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Permanently delete site; confirmSlug must equal slug.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| confirmSlug * | string |
{
"name": "delete_site",
"description": "Permanently delete site; confirmSlug must equal slug.",
"inputSchema": {
"type": "object",
"required": [
"site",
"confirmSlug"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"confirmSlug": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete site",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| title | string | |
| content * | array | |
| context | string | Why this call (activity log). |
{
"name": "bulk_put_content",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"site",
"content"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save content in bulk",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| mode | string | one of ["published","draft"] |
| site * | string | Site slug, e.g. acme-studio |
| limit | integer | |
| cursor | string | |
| routes | boolean |
{
"name": "get_site_manifest",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"mode": {
"enum": [
"published",
"draft"
],
"type": "string"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1
},
"cursor": {
"type": "string"
},
"routes": {
"type": "boolean"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Site manifest",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Case-insensitive find→replace across pages in one staged commit. Batch all replacements into ONE call — never parallelize find_replace on the same key (concurrent edits surface as per-key conflict). find/replace ≤60KB.
| Parameter | Type | Description |
|---|---|---|
| find * | string | |
| keys | array | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| replace * | string | |
| expectPerKey | integer |
{
"name": "find_replace",
"description": "Case-insensitive find→replace across pages in one staged commit. Batch all replacements into ONE call — never parallelize find_replace on the same key (concurrent edits surface as per-key conflict). find/replace ≤60KB.",
"inputSchema": {
"type": "object",
"required": [
"site",
"find",
"replace"
],
"properties": {
"find": {
"type": "string",
"minLength": 1
},
"keys": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"replace": {
"type": "string"
},
"expectPerKey": {
"type": "integer",
"minimum": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Find and replace",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Find pages containing a phrase (grep without reading bodies). Requires do-sqlite — graduate_site first if search_unavailable.
| Parameter | Type | Description |
|---|---|---|
| q * | string | |
| site * | string | Site slug, e.g. acme-studio |
| limit | integer |
{
"name": "search_content",
"description": "Find pages containing a phrase (grep without reading bodies). Requires do-sqlite — graduate_site first if search_unavailable.",
"inputSchema": {
"type": "object",
"required": [
"site",
"q"
],
"properties": {
"q": {
"type": "string"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Search content",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Enable site search & collections (kv → do-sqlite), one-way. Unlocks search_content, collection indexes, visitor /__paige/search, and moves any R2 form-submission ledger into SiteDb. 409 blocked: `reason` names the gate — unsupported source backend (never overridable); strictDrafts (default true; false skips it) on unpublished drafts or unrecovered KV rows; or an incomplete-looking KV snapshot (e.g. a page deleted minutes ago), the only gate force:true overrides. `audit` (+ `audit.warnings`) = aggregate counts, no row keys: judge the gap before forcing. Anything outside the frozen snapshot is unreachable afterwards.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| force | boolean | Proceed past the incomplete-KV-snapshot 409 only — not the unsupported-backend or strictDrafts blocks, which force does nothing for. Read the blocked response's `reason` + `audit` first; the flip is one-way, so rows outside the snapshot are unreachable afterwards. Default false. |
| context | string | Why this call (activity log). |
| strictDrafts | boolean | Block on unpublished drafts or unrecovered KV content rows (default true — publish/discard first, or pass false to proceed anyway). |
{
"name": "graduate_site",
"description": "Enable site search & collections (kv → do-sqlite), one-way. Unlocks search_content, collection indexes, visitor /__paige/search, and moves any R2 form-submission ledger into SiteDb. 409 blocked: `reason` names the gate — unsupported source backend (never overridable); strictDrafts (default true; false skips it) on unpublished drafts or unrecovered KV rows; or an incomplete-looking KV snapshot (e.g. a page deleted minutes ago), the only gate force:true overrides. `audit` (+ `audit.warnings`) = aggregate counts, no row keys: judge the gap before forcing. Anything outside the frozen snapshot is unreachable afterwards.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"force": {
"type": "boolean",
"description": "Proceed past the incomplete-KV-snapshot 409 only — not the unsupported-backend or strictDrafts blocks, which force does nothing for. Read the blocked response's `reason` + `audit` first; the flip is one-way, so rows outside the snapshot are unreachable afterwards. Default false."
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"strictDrafts": {
"type": "boolean",
"description": "Block on unpublished drafts or unrecovered KV content rows (default true — publish/discard first, or pass false to proceed anyway)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Enable search and collections",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| atomic | boolean | 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 | array | |
| context | string | Why this call (activity log). |
| deletes | array | Keys to delete: a key, or { key, ifMatch } (the hash you read) so a page changed since is not deleted (listed in conflicts). |
| message | string | |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
{
"name": "apply_changeset",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"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": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"description": "Explicit content key (default: path-derived). null restores the default (undoes a prior set on PATCH)."
},
"experiment": {
"anyOf": [
{
"type": "object",
"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
},
{
"type": "null"
}
]
},
"redirectTo": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"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": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"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 (activity log)."
},
"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": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Apply changeset",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Import URL to draft. Waits up to ~40 s; if still running it returns the job id, progress, warnings and `next` (get_site_build_progress). On complete, the response may include requiredDecision: mirror vs editable, which is worth asking the person after they see the preview and before any structure_* call.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Default auto — per-page mirror with silent render escalation |
| site * | string | Site slug, e.g. acme-studio |
| pages | array | Explicit page list; omit to import sourceUrl as index.html |
| context | string | Why this call (activity log). |
| segments | array | Split-origin segments — each expands into pages by fetching its own `sitemap`. A segment without `sitemap` imports only its pathPrefix hub page (with a warning), not the whole prefix. |
| sourceUrl * | string | |
| workspace | ["string","null"] | Workspace org id or slug (multi-workspace only; omit if one workspace). |
| onSlugTaken | string | one of ["fail","auto-suffix","merge"] |
| keyConvention | string | Content key shape: directory = Astro dist (about/index.html); default flat |
{
"name": "import_site_from_url",
"description": "Import URL to draft. Waits up to ~40 s; if still running it returns the job id, progress, warnings and `next` (get_site_build_progress). On complete, the response may include requiredDecision: mirror vs editable, which is worth asking the person after they see the preview and before any structure_* call.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"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. Omit only to import this segment's single hub page — expansion does NOT happen without it, and a segment_hub_only warning is returned as a reminder."
},
"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 by fetching its own `sitemap`. A segment without `sitemap` imports only its pathPrefix hub page (with a warning), not the whole prefix."
},
"sourceUrl": {
"type": "string",
"format": "uri"
},
"workspace": {
"type": [
"string",
"null"
],
"description": "Workspace org id or slug (multi-workspace only; omit if one workspace)."
},
"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
},
"annotations": {
"title": "Import site from URL",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
{
"name": "get_structure_status",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Structure status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Propose shared layout + fragments; persist:false first. Wait for mirror-vs-editable answer if requiredDecision pending.
| Parameter | Type | Description |
|---|---|---|
| full | boolean | Return the full manifest incl. per-page HTML samples (default: compacted — etag/action/counts kept, samples truncated — to fit the token budget). |
| site * | string | Site slug, e.g. acme-studio |
| scope | string | Default flat-only; analyze clusters flat keys only. |
| context | string | Why this call (activity log). |
| persist | boolean | First call: false (preview only). true only after user confirms editable/CMS mode. |
| profileId | string | one of ["webflow","wordpress","generic","framer"] |
| sampleLimit | integer | |
| refreshManifest | boolean | Replace persisted manifest when true. |
{
"name": "structure_site_analyze",
"description": "Propose shared layout + fragments; persist:false first. Wait for mirror-vs-editable answer if requiredDecision pending.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"full": {
"type": "boolean",
"description": "Return the full manifest incl. per-page HTML samples (default: compacted — etag/action/counts kept, samples truncated — to fit the token budget)."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"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
},
"annotations": {
"title": "Analyze site structure",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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).
| Parameter | Type | Description |
|---|---|---|
| keys | array | Required when scope is keys. |
| mode | string | Default apply. Neither value is a dry run — review-only persists the same content/layout write as apply. Only pass review-only after a review_required error (low analyze confidence); it labels the result outcome "review" and defers primary-nav auto-wiring to a later apply call. |
| site * | string | Site slug, e.g. acme-studio |
| scope | string | one of ["flat-only","all","keys","new-since-last"] |
| context | string | Why this call (activity log). |
| ifMatch * | string | Manifest etag from structure_site_analyze or get_structure_status. |
| overrides | object | |
| restructure | boolean | Required true when scope all and site has structured pages. |
{
"name": "structure_site_apply",
"description": "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).",
"inputSchema": {
"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 value is a dry run — review-only persists the same content/layout write as apply. Only pass review-only after a review_required error (low analyze confidence); it labels the result outcome \"review\" and defers primary-nav auto-wiring to a later apply call."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"scope": {
"enum": [
"flat-only",
"all",
"keys",
"new-since-last"
],
"type": "string"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"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
},
"annotations": {
"title": "Apply site structure",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Last structure apply job result (structuredKeys, conflicts, partial).
| Parameter | Type | Description |
|---|---|---|
| full | boolean | Return the full manifest/detail (default: compacted for the token budget). |
| site * | string | Site slug, e.g. acme-studio |
{
"name": "get_structure_result",
"description": "Last structure apply job result (structuredKeys, conflicts, partial).",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"full": {
"type": "boolean",
"description": "Return the full manifest/detail (default: compacted for the token budget)."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Structure result",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Propose nav wiring + blog collectionization for an imported mirror (draft, opt-in). Read-only; returns per-adapter reports + proposalEtag. Nav decline may include nextStep (e.g. mega-menu → edit fragments/header.html). Wait for mirror-vs-editable answer if requiredDecision pending.
| Parameter | Type | Description |
|---|---|---|
| full | boolean | Return the full per-member harvest report (default: compacted for the token budget). |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| options | object | |
| adapters | array | Which adapters to analyze (default: both). |
| refreshProposal | boolean | Replace an existing UNCONSUMED proposal (otherwise re-analyze 409s proposal_exists). |
{
"name": "adapt_site_analyze",
"description": "Propose nav wiring + blog collectionization for an imported mirror (draft, opt-in). Read-only; returns per-adapter reports + proposalEtag. Nav decline may include nextStep (e.g. mega-menu → edit fragments/header.html). Wait for mirror-vs-editable answer if requiredDecision pending.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"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
},
"annotations": {
"title": "Analyze nav and blog",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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 whole apply; a second apply is refused until adapt_site_revert (or force). Queued applies are polled to completion.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| force | string | 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 | boolean | Full computation, would-write set + previews, ZERO writes, no undo. |
| context | string | Why this call (activity log). |
| ifMatch * | string | The proposal etag from analyze (or GET …/adapt/proposal / status). |
| adapters * | array | Which analyzed adapters to apply. |
{
"name": "adapt_site_apply",
"description": "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 whole apply; a second apply is refused until adapt_site_revert (or force). Queued applies are polled to completion.",
"inputSchema": {
"type": "object",
"required": [
"site",
"ifMatch",
"adapters"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"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
},
"annotations": {
"title": "Apply nav and blog changes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Atomically restore everything the last adapt_site_apply wrote (fragments, the menu doc when the op touched it, index, member configs, routes).
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "adapt_site_revert",
"description": "Atomically restore everything the last adapt_site_apply wrote (fragments, the menu doc when the op touched it, index, member configs, routes).",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Revert nav and blog changes",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Read adapt state: proposal summary + proposalEtag (+ applied/consumed flag), undo-record presence, active or queued job progress. Use to resume in a fresh session.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
{
"name": "get_adapt_status",
"description": "Read adapt state: proposal summary + proposalEtag (+ applied/consumed flag), undo-record presence, active or queued job progress. Use to resume in a fresh session.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Adapt status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List content keys (HTML/md); not assets — use list_assets. Defaults to 50 keys per page: raise limit (max 1000) or pass cursor (nextCursor). Per-row `size`/`missing` are measured only on pages of ≤100 rows; past that they're ABSENT (never `null`) unless you pass withSize:true (one storage read per row). Only `size: null` + `missing: true` means the page's bytes are gone.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| limit | integer | Keys per page (default 50, max 1000). |
| cursor | string | Resume from a prior response's nextCursor. |
| withSize | boolean | Force size/missing measurement on a page bigger than 100 rows (costs one storage read per returned row). Default false — rows in a ≤100-row page are measured either way. |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
{
"name": "list_content",
"description": "List content keys (HTML/md); not assets — use list_assets. Defaults to 50 keys per page: raise limit (max 1000) or pass cursor (nextCursor). Per-row `size`/`missing` are measured only on pages of ≤100 rows; past that they're ABSENT (never `null`) unless you pass withSize:true (one storage read per row). Only `size: null` + `missing: true` means the page's bytes are gone.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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": "Force size/missing measurement on a page bigger than 100 rows (costs one storage read per returned row). Default false — rows in a ≤100-row page are measured either way."
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List content",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one content key; optional selector (region) or published=true (live body). Bodies over 40KB without a selector return a truncated summary — use selector, batch_patch_content, or dotsy pull.
| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| site * | string | Site slug, e.g. acme-studio |
| selector | string | |
| published | boolean | |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
{
"name": "get_content",
"description": "Read one content key; optional selector (region) or published=true (live body). Bodies over 40KB without a selector return a truncated summary — use selector, batch_patch_content, or dotsy pull.",
"inputSchema": {
"type": "object",
"required": [
"site",
"key"
],
"properties": {
"key": {
"type": "string"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"selector": {
"type": "string"
},
"published": {
"type": "boolean"
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read content",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| key * | string | Content key: a page (about.html, blog/post.html), a layout (layouts/<name>.html) or a fragment (fragments/<name>.html). A <dotsy-fragment name> tag and a route's layout use the bare name, not the key. |
| body * | string | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
| contentType | string |
{
"name": "put_content",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"site",
"key",
"body"
],
"properties": {
"key": {
"type": "string",
"description": "Content key: a page (about.html, blog/post.html), a layout (layouts/<name>.html) or a fragment (fragments/<name>.html). A <dotsy-fragment name> tag and a route's layout use the bare name, not the key."
},
"body": {
"type": "string"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
},
"contentType": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save content",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| seq * | integer | |
| body * | string | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| finalize | boolean | |
| stagingId | string | |
| contentType | string |
{
"name": "stage_content_chunk",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"site",
"seq",
"body"
],
"properties": {
"seq": {
"type": "integer",
"maximum": 84,
"minimum": 0
},
"body": {
"type": "string",
"minLength": 1
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"finalize": {
"type": "boolean"
},
"stagingId": {
"type": "string",
"pattern": "^stg_[a-zA-Z0-9_-]+$"
},
"contentType": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Stage large content chunk",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Edit one content key via ops[] (selector ops or replace-string; wrap/unwrap/move restructure siblings). Stages draft; op shapes in schema.
| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| ops * | array | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
{
"name": "patch_content",
"description": "Edit one content key via ops[] (selector ops or replace-string; wrap/unwrap/move restructure siblings). Stages draft; op shapes in schema.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Edit content",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}patch_content on multiple keys; all-or-nothing validation. Preferred edit path for pages over 60KB. replace-string value/replace ≤60KB; whole call ≤80KB.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| items * | array | |
| context | string | Why this call (activity log). |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
{
"name": "batch_patch_content",
"description": "patch_content on multiple keys; all-or-nothing validation. Preferred edit path for pages over 60KB. replace-string value/replace ≤60KB; whole call ≤80KB.",
"inputSchema": {
"type": "object",
"required": [
"site",
"items"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Edit content in bulk",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "delete_content",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"site",
"key"
],
"properties": {
"key": {
"type": "string"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete content",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Re-key a page by slug (draft or published static), server-side hash copy. Default deletes static routes; movePath:true repoints the route, rewrites menu refs, redirects and root-relative / {slug}.dotsy.site hrefs in draft HTML (as rename_page), and for an already-published page leaves a 301 (leaveRedirect, default true). Retry-safe: 409 rename_failed rolls back, resend. On fragments/<name>.html it also rewrites every <dotsy-fragment name> reference and hide marker in one commit. Then publish_site.
| Parameter | Type | Description |
|---|---|---|
| key * | string | Current content key, e.g. dashboard.html |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| newSlug * | string | New filename stem; directory prefix preserved (blog/foo → blog/bar) |
| movePath | boolean | false (default): delete routes bound to old key. true: move static route path to match slug. |
| leaveRedirect | boolean | With movePath:true on an already-published page, leave a 301 at the old path (default true). false removes the old path outright — old links break. No effect when movePath is false, or on a page that was never published. |
{
"name": "rename_content",
"description": "Re-key a page by slug (draft or published static), server-side hash copy. Default deletes static routes; movePath:true repoints the route, rewrites menu refs, redirects and root-relative / {slug}.dotsy.site hrefs in draft HTML (as rename_page), and for an already-published page leaves a 301 (leaveRedirect, default true). Retry-safe: 409 rename_failed rolls back, resend. On fragments/<name>.html it also rewrites every <dotsy-fragment name> reference and hide marker in one commit. Then publish_site.",
"inputSchema": {
"type": "object",
"required": [
"site",
"key",
"newSlug"
],
"properties": {
"key": {
"type": "string",
"description": "Current content key, e.g. dashboard.html"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"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 an already-published page, leave a 301 at the old path (default true). false removes the old path outright — old links break. No effect when movePath is false, or on a page that was never published."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Rename content key",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Stage a blog post via structured meta+body (?format=post). Key e.g. blog/my-post.html. Declared membership: meta.collections; schedule: meta.visibleAt; SEO title override: meta.seoTitle (card always shows meta.title); custom fields: meta.custom (typed per collection by get_collection_schema; the response's fieldWarnings flag values that don't fit — soft, never blocking).
| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| body * | string | |
| head | array | |
| meta * | object | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "put_post",
"description": "Stage a blog post via structured meta+body (?format=post). Key e.g. blog/my-post.html. Declared membership: meta.collections; schedule: meta.visibleAt; SEO title override: meta.seoTitle (card always shows meta.title); custom fields: meta.custom (typed per collection by get_collection_schema; the response's fieldWarnings flag values that don't fit — soft, never blocking).",
"inputSchema": {
"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",
"properties": {},
"additionalProperties": true
},
{
"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",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save blog post",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Collection state — count, server.mode, sample entries, tag (membershipKind, match=) when discovered, name, noun, URL pattern, layout, where listed, post fields used. Pass status/q/cursor/limit (any one, even empty) for a full items[] page instead: status draft = never published; a published post with unpublished edits is status published with hasChanges:true (never draft), showing its staged title/date/tags/author; scheduled = future visibleAt. Drafts come from staged content (no publish needed), published/scheduled from the index. limit defaults to 50 (1-200). Omit all four for just the base inspect.
| Parameter | Type | Description |
|---|---|---|
| q | string | Case-insensitive title search within items[]. |
| site * | string | Site slug, e.g. acme-studio |
| limit | integer | Items per page (default 50, max 200). |
| cursor | string | Resume from a prior response's nextCursor. |
| prefix * | string | Collection id or prefix, e.g. "posts" or "blog/" — use the key exactly as list_collections returned it. |
| status | string | Filter items[] by status (see the tool description for what each means). Providing this (or q/cursor/limit) is what makes the response include items[]. |
{
"name": "inspect_collection",
"description": "Collection state — count, server.mode, sample entries, tag (membershipKind, match=) when discovered, name, noun, URL pattern, layout, where listed, post fields used. Pass status/q/cursor/limit (any one, even empty) for a full items[] page instead: status draft = never published; a published post with unpublished edits is status published with hasChanges:true (never draft), showing its staged title/date/tags/author; scheduled = future visibleAt. Drafts come from staged content (no publish needed), published/scheduled from the index. limit defaults to 50 (1-200). Omit all four for just the base inspect.",
"inputSchema": {
"type": "object",
"required": [
"site",
"prefix"
],
"properties": {
"q": {
"type": "string",
"description": "Case-insensitive title search within items[]."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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/\" — use the key exactly as list_collections returned it."
},
"status": {
"enum": [
"all",
"published",
"scheduled",
"draft"
],
"type": "string",
"description": "Filter items[] by status (see the tool description for what each means). Providing this (or q/cursor/limit) is what makes the response include items[]."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Inspect collection",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Collections on the site — name, noun, item count (or 'not published yet'), URL pattern, and whether any member is staged. Includes a collection only a draft page lists. Returns a bare array (not wrapped in an object) — pass each row's key verbatim to inspect_collection/update_collection.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
{
"name": "list_collections",
"description": "Collections on the site — name, noun, item count (or 'not published yet'), URL pattern, and whether any member is staged. Includes a collection only a draft page lists. Returns a bare array (not wrapped in an object) — pass each row's key verbatim to inspect_collection/update_collection.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "List collections",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Rename a collection's display name and/or noun (e.g. the generic 'posts' key shown as 'Recipes' / 'recipe') — cosmetic only, stored separately from the tag that defines membership; doesn't need publish. Provide at least one of name/noun. null (or "") resets that field back to its derived default — different from omitting it, which leaves the current value alone.
| Parameter | Type | Description |
|---|---|---|
| key * | string | Collection key exactly as list_collections returned it, e.g. "posts" or "blog/" (a hand-typed key may 404 or get silently normalized). |
| name | any | Display name (≤80 chars). null resets to the derived name. |
| noun | any | Singular noun for one item, e.g. "post" (≤40 chars). null resets to the derived noun. |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "update_collection",
"description": "Rename a collection's display name and/or noun (e.g. the generic 'posts' key shown as 'Recipes' / 'recipe') — cosmetic only, stored separately from the tag that defines membership; doesn't need publish. Provide at least one of name/noun. null (or \"\") resets that field back to its derived default — different from omitting it, which leaves the current value alone.",
"inputSchema": {
"type": "object",
"required": [
"site",
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Collection key exactly as list_collections returned it, e.g. \"posts\" or \"blog/\" (a hand-typed key may 404 or get silently normalized)."
},
"name": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
],
"description": "Display name (≤80 chars). null resets to the derived name."
},
"noun": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
],
"description": "Singular noun for one item, e.g. \"post\" (≤40 chars). null resets to the derived noun."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Rename collection",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read-only scaffold for a new post — suggested key/path, membership meta, blank or duplicate body. Then put_post (+ optional put_route).
| Parameter | Type | Description |
|---|---|---|
| mode | string | blank (default) or duplicate full body |
| site * | string | Site slug, e.g. acme-studio |
| collection * | string | Collection id or prefix, e.g. "posts" or "blog/" |
| templateKey | string | Exemplar content key; default = most recent member |
{
"name": "new_post_template",
"description": "Read-only scaffold for a new post — suggested key/path, membership meta, blank or duplicate body. Then put_post (+ optional put_route).",
"inputSchema": {
"type": "object",
"required": [
"site",
"collection"
],
"properties": {
"mode": {
"enum": [
"blank",
"duplicate"
],
"type": "string",
"description": "blank (default) or duplicate full body"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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
},
"annotations": {
"title": "New post template",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read the site's collection field definitions (`_data/collections.json`, draft view): { schema: { v: 1, collections: { "<key>": { fields[], settings? } } }, hash }. hash is null when no schema exists yet — pass it as put_collection_schema ifMatch. 409 collection_schema_invalid { hash, issues } means the stored file is broken: fix it with put_collection_schema using that hash.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
{
"name": "get_collection_schema",
"description": "Read the site's collection field definitions (`_data/collections.json`, draft view): { schema: { v: 1, collections: { \"<key>\": { fields[], settings? } } }, hash }. hash is null when no schema exists yet — pass it as put_collection_schema ifMatch. 409 collection_schema_invalid { hash, issues } means the stored file is broken: fix it with put_collection_schema using that hash.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get collection fields",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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[] required) | multiOption (options[] required, max) | link | email | phone | color. Keys: letter then letters/digits/_ (≤40), not a built-in post field (author: text, or a reference to authors/ with the Authors feature), not secret-looking. ≤60 fields per collection. settings.defaultSort: date:desc|date:asc|title:asc|slug:asc. Removing a collection drops its definitions (post values stay). Values go in put_post meta.custom (fieldWarnings are soft). 400 invalid_collection_schema lists issues; 409 = stale ifMatch.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| schema * | object | Whole schema file: { "v": 1, "collections": { "<key>": { "fields": [...], "settings"?: {...} } } }. |
| context | string | Why this call (activity log). |
| ifMatch | ["string","null"] | hash from get_collection_schema (stale → 409 conflict). null = the schema must not exist yet. Omit to write unconditionally. |
{
"name": "put_collection_schema",
"description": "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[] required) | multiOption (options[] required, max) | link | email | phone | color. Keys: letter then letters/digits/_ (≤40), not a built-in post field (author: text, or a reference to authors/ with the Authors feature), not secret-looking. ≤60 fields per collection. settings.defaultSort: date:desc|date:asc|title:asc|slug:asc. Removing a collection drops its definitions (post values stay). Values go in put_post meta.custom (fieldWarnings are soft). 400 invalid_collection_schema lists issues; 409 = stale ifMatch.",
"inputSchema": {
"type": "object",
"required": [
"site",
"schema"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"schema": {
"type": "object",
"properties": {},
"description": "Whole schema file: { \"v\": 1, \"collections\": { \"<key>\": { \"fields\": [...], \"settings\"?: {...} } } }.",
"additionalProperties": true
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"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
},
"annotations": {
"title": "Replace collection fields",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| at | string | ISO date for the status stamp (backfill). |
| key * | string | Content key, e.g. roadmap/my-feature.html |
| site * | string | Site slug, e.g. acme-studio |
| reply | string | Decline reply when moving to an archived state. |
| status * | string | One of the board states from get_collection_schema. |
| context | string | Why this call (activity log). |
| publish | boolean | Publish the touched keys after staging. |
| collection | string | Board collection (default "roadmap"). |
| draftChangelog | boolean | Default true when the board defines a changelog collection. |
{
"name": "set_item_status",
"description": "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.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"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
},
"annotations": {
"title": "Set board item status",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List board items with status, stamp fields, and baked vote counts (draft overlay included). Live vote totals: site host GET /__dotsy/votes.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| collection | string | Board collection (default "roadmap"). |
{
"name": "get_board",
"description": "List board items with status, stamp fields, and baked vote counts (draft overlay included). Live vote totals: site host GET /__dotsy/votes.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"collection": {
"type": "string",
"minLength": 1,
"description": "Board collection (default \"roadmap\")."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get board snapshot",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List voters on one board item (voter id + source only — no email).
| Parameter | Type | Description |
|---|---|---|
| item * | string | Content key, e.g. roadmap/my-feature.html |
| site * | string | Site slug, e.g. acme-studio |
| collection * | string | Board collection id. |
{
"name": "list_votes",
"description": "List voters on one board item (voter id + source only — no email).",
"inputSchema": {
"type": "object",
"required": [
"site",
"collection",
"item"
],
"properties": {
"item": {
"type": "string",
"minLength": 1,
"description": "Content key, e.g. roadmap/my-feature.html"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"collection": {
"type": "string",
"minLength": 1,
"description": "Board collection id."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List votes on an item",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Remove one voter's vote and drop their release subscription for that item.
| Parameter | Type | Description |
|---|---|---|
| item * | string | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| voterId * | string | |
| collection * | string |
{
"name": "remove_votes",
"description": "Remove one voter's vote and drop their release subscription for that item.",
"inputSchema": {
"type": "object",
"required": [
"site",
"collection",
"item",
"voterId"
],
"properties": {
"item": {
"type": "string",
"minLength": 1
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"voterId": {
"type": "string",
"minLength": 1
},
"collection": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Remove a vote",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}List form suggestions to moderate (duplicate hints); `about` filters by tool id.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| about | string | |
| status | string | Default "new"; or "all". |
{
"name": "list_suggestions",
"description": "List form suggestions to moderate (duplicate hints); `about` filters by tool id.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"about": {
"type": "string"
},
"status": {
"type": "string",
"description": "Default \"new\"; or \"all\"."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List form suggestions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| body | string | approve only. |
| site * | string | Site slug, e.g. acme-studio |
| slug | string | approve only. |
| title | string | approve: item title (default: the suggestion's). |
| reason | string | decline: note kept with the suggestion. |
| status | string | approve: initial board status. |
| context | string | Why this call (activity log). |
| itemKey | string | merge: the existing board item's key (required). |
| decision * | string | one of ["approve","merge","decline"] |
{
"name": "moderate_suggestion",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"site",
"id",
"decision"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"body": {
"type": "string",
"description": "approve only."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"itemKey": {
"type": "string",
"minLength": 1,
"description": "merge: the existing board item's key (required)."
},
"decision": {
"enum": [
"approve",
"merge",
"decline"
],
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Moderate a suggestion",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Add an idea from outside the site (draft board item or inbox suggestion). Idempotent on externalRef.
| Parameter | Type | Description |
|---|---|---|
| area | string | |
| site * | string | Site slug, e.g. acme-studio |
| board | string | |
| title * | string | |
| source * | string | |
| status | string | |
| context | string | Why this call (activity log). |
| requester | object | |
| description * | string | |
| externalRef | object | |
| asSuggestion | boolean |
{
"name": "add_idea",
"description": "Add an idea from outside the site (draft board item or inbox suggestion). Idempotent on externalRef.",
"inputSchema": {
"type": "object",
"required": [
"site",
"title",
"description",
"source"
],
"properties": {
"area": {
"type": "string"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"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
},
"annotations": {
"title": "Add an external idea",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Search draft/published board items and open suggestions by title token overlap.
| Parameter | Type | Description |
|---|---|---|
| q * | string | |
| site * | string | Site slug, e.g. acme-studio |
| board | string |
{
"name": "list_ideas",
"description": "Search draft/published board items and open suggestions by title token overlap.",
"inputSchema": {
"type": "object",
"required": [
"site",
"q"
],
"properties": {
"q": {
"type": "string",
"minLength": 1
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"board": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Search ideas and suggestions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Suggest fields for one collection from a sample of its items' meta.custom values (published data, else drafts) — writes nothing. Returns { sampled, suggestions: [{ field: { key, type, options? }, count, samples, defined }], skipped }. Review, then add the ones you want via put_collection_schema.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| collection * | string | Collection key exactly as list_collections returned it, e.g. "blog/" or "posts". |
{
"name": "infer_collection_schema",
"description": "Suggest fields for one collection from a sample of its items' meta.custom values (published data, else drafts) — writes nothing. Returns { sampled, suggestions: [{ field: { key, type, options? }, count, samples, defined }], skipped }. Review, then add the ones you want via put_collection_schema.",
"inputSchema": {
"type": "object",
"required": [
"site",
"collection"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"collection": {
"type": "string",
"minLength": 1,
"description": "Collection key exactly as list_collections returned it, e.g. \"blog/\" or \"posts\"."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Suggest collection fields",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Build/finish collection indexes after publish returns collectionDataPending or collectionSqlPending.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "reindex_collection",
"description": "Build/finish collection indexes after publish returns collectionDataPending or collectionSqlPending.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Rebuild collection index",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Verify-only composed HTML check; home preview may include requiredDecision — ask mirror vs editable before structure_*.
| Parameter | Type | Description |
|---|---|---|
| path | string | |
| site * | string | Site slug, e.g. acme-studio |
| variant | string | A/B variant arm to compose (e.g. "b") — same as ?dotsy-variant= on the public URL. |
| contains | array | Assert substrings present in composed HTML. |
| selector | string | Return matched elements only (tag/attrs/text). |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
| notContains | array | Assert absent — e.g. `<dotsy-` for unresolved template tags. |
{
"name": "preview_page",
"description": "Verify-only composed HTML check; home preview may include requiredDecision — ask mirror vs editable before structure_*.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"path": {
"type": "string"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
},
"notContains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Assert absent — e.g. `<dotsy-` for unresolved template tags."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Preview page",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Pre-publish lint (tags, assets, layout, SEO, speed and accessibility). Summary first: health issues grouped 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').
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| codes | array | Only these health codes, e.g. perf_image_heavy. |
| paths | array | Routes to check; omit to verify every route on the site. |
| detail | string | summary (default): grouped by code, clean pages counted. full: per-page lists. |
| groups | array | Only these groups: speed = perf_*, a11y = a11y_*, links = link_* + content_*. Omit for all. |
{
"name": "verify_page",
"description": "Pre-publish lint (tags, assets, layout, SEO, speed and accessibility). Summary first: health issues grouped 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').",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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
},
"annotations": {
"title": "Verify page",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| requiredAssets | integer | How many assets you plan to upload |
| requiredRoutes | integer | How many routes you plan to add |
{
"name": "preflight_site",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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
},
"annotations": {
"title": "Preflight site build",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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 '/'.
| Parameter | Type | Description |
|---|---|---|
| path | string | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "start_edit_session",
"description": "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 '/'.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"path": {
"type": "string"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Start edit session",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Site shape: every layout and shared section (`sections`: fragments/* by name, with page count, whether the file exists and staged-change flag), whether a layout is missing, redirects count, menus grouped by where they show, and collections with their page placements. Answers 'is my layout missing', 'which shared sections exist and where', 'where does this menu show' without listing every page. Read-only; indexing mirrors list_pages (a fresh import may still be indexing).
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
{
"name": "get_site_outline",
"description": "Site shape: every layout and shared section (`sections`: fragments/* by name, with page count, whether the file exists and staged-change flag), whether a layout is missing, redirects count, menus grouped by where they show, and collections with their page placements. Answers 'is my layout missing', 'which shared sections exist and where', 'where does this menu show' without listing every page. Read-only; indexing mirrors list_pages (a fresh import may still be indexing).",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Site outline",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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, all hide first). Draft only (publish_site; undo: revert_change).
| Parameter | Type | Description |
|---|---|---|
| hide | array | every_page: pages to keep it off (they keep their copy). Send with the first move, never later. |
| keys | array | 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 | string | New name (default: proposed), or the existing section to re-place or use. |
| show | array | Pages that should show it again (removes their marker). |
| site * | string | Site slug, e.g. acme-studio |
| after | string | Previous `through`. |
| scope | string | 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 | boolean | Default true: report what would change and write nothing. false: stage the change as a draft (publish_site makes it live). |
| context | string | Why this call (activity log). |
| ifMatch | string | The page's content hash (analyze's sourceEtag). If the page changed since, nothing is written. |
| similar | array | Pages with a similar copy (analyze's similar.keys) that take the shared version, losing their own wording. Default none. |
| wrapTag | string | With selectors: the wrapper. Default footer when the run ends the page content, else section. |
| selector | string | 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 | array | Instead of selector: a run of adjacent siblings in page order (each matches one element); one section, one wrapper. |
| sourceKey | string | Content key of the page the element is on, e.g. 'about.html'. |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
| keepLayout | boolean | With selectors: wrapper gets style="display:contents" so a flex/grid parent lays the run out as before. Default true. |
| suggestionId | string | With name = likeSection: use that section on its pages. |
{
"name": "share_section",
"description": "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, all hide first). Draft only (publish_site; undo: revert_change).",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"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": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
},
"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
},
"annotations": {
"title": "Share a section",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Give one page its own copy of a shared section; every other page keeps the shared one. A draft — publish_site to go live. A section the layout places is hidden on that page instead (share_section name + hide).
| Parameter | Type | Description |
|---|---|---|
| name * | string | Section name. Its file is fragments/<name>.html, placed with <dotsy-fragment name="<name>">. |
| site * | string | Site slug, e.g. acme-studio |
| dryRun | boolean | Default true: report what would change and write nothing. false: stage the change as a draft (publish_site makes it live). |
| context | string | Why this call (activity log). |
| ifMatch | string | The page's content hash. If the page changed since, nothing is written. |
| pageKey * | string | Content key of the page that gets its own copy, e.g. 'pricing.html'. |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
{
"name": "detach_section",
"description": "Give one page its own copy of a shared section; every other page keeps the shared one. A draft — publish_site to go live. A section the layout places is hidden on that page instead (share_section name + hide).",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"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": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Detach a section",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Get one route by path (home is '/').
| Parameter | Type | Description |
|---|---|---|
| path * | string | |
| site * | string | Site slug, e.g. acme-studio |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
{
"name": "get_route",
"description": "Get one route by path (home is '/').",
"inputSchema": {
"type": "object",
"required": [
"site",
"path"
],
"properties": {
"path": {
"type": "string"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get route",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create/replace route; contentKey derived from path if omitted. On a field that accepts null (contentKey, redirectTo, redirectStatus, preserveQuery), sending null clears it back to its default.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | Page language, e.g. "es", "pt-BR". null clears (folder or main language applies). |
| path * | string | |
| site * | string | Site slug, e.g. acme-studio |
| vars | any | |
| title | ["string","null"] | |
| layout | ["string","null"] | Layout NAME, bare ("default" for layouts/default.html), not the file key. Must already exist (400 layout_not_found). null removes it. |
| context | string | Why this call (activity log). |
| noindex | ["boolean","null"] | Exclude from sitemap/RSS; inject noindex meta (0.69). |
| purpose | ["string","null"] | |
| contentKey | any | Explicit content key (default: path-derived). null restores the default (undoes a prior set on PATCH). |
| experiment | any | |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
| redirectTo | any | Root-relative redirect target (/…). Required when purpose is "redirect"; null clears it once purpose is no longer "redirect". |
| preserveQuery | ["boolean","null"] | Append the visitor's query string to the redirect target (default true on a redirect). null clears the override. |
| redirectStatus | any | 301 permanent / 302 or 308 temporary (default 301 on a redirect). null clears an explicit override. |
| translationKey | any | Pages sharing a key are translations of each other. null clears. |
{
"name": "put_route",
"description": "Create/replace route; contentKey derived from path if omitted. On a field that accepts null (contentKey, redirectTo, redirectStatus, preserveQuery), sending null clears it back to its default.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"vars": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"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 (activity log)."
},
"noindex": {
"type": [
"boolean",
"null"
],
"description": "Exclude from sitemap/RSS; inject noindex meta (0.69)."
},
"purpose": {
"type": [
"string",
"null"
]
},
"contentKey": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"description": "Explicit content key (default: path-derived). null restores the default (undoes a prior set on PATCH)."
},
"experiment": {
"anyOf": [
{
"type": "object",
"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
},
{
"type": "null"
}
]
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
},
"redirectTo": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"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": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"description": "Pages sharing a key are translations of each other. null clears."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save route",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | Page language, e.g. "es", "pt-BR". null clears (folder or main language applies). |
| path * | string | |
| site * | string | Site slug, e.g. acme-studio |
| vars | any | |
| title | ["string","null"] | |
| layout | ["string","null"] | Layout NAME, bare ("default" for layouts/default.html), not the file key. Must already exist (400 layout_not_found). null removes it. |
| context | string | Why this call (activity log). |
| noindex | ["boolean","null"] | Exclude from sitemap/RSS; inject noindex meta (0.69). |
| purpose | ["string","null"] | |
| contentKey | any | Explicit content key (default: path-derived). null restores the default (undoes a prior set on PATCH). |
| experiment | any | |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
| redirectTo | any | Root-relative redirect target (/…). Required when purpose is "redirect"; null clears it once purpose is no longer "redirect". |
| preserveQuery | ["boolean","null"] | Append the visitor's query string to the redirect target (default true on a redirect). null clears the override. |
| redirectStatus | any | 301 permanent / 302 or 308 temporary (default 301 on a redirect). null clears an explicit override. |
| translationKey | any | Pages sharing a key are translations of each other. null clears. |
{
"name": "patch_route",
"description": "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.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"vars": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"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 (activity log)."
},
"noindex": {
"type": [
"boolean",
"null"
],
"description": "Exclude from sitemap/RSS; inject noindex meta (0.69)."
},
"purpose": {
"type": [
"string",
"null"
]
},
"contentKey": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"description": "Explicit content key (default: path-derived). null restores the default (undoes a prior set on PATCH)."
},
"experiment": {
"anyOf": [
{
"type": "object",
"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
},
{
"type": "null"
}
]
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
},
"redirectTo": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
],
"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": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"description": "Pages sharing a key are translations of each other. null clears."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Update route",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}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). Root-relative and https://{slug}.dotsy.site/ hrefs in draft HTML are rewritten (linksRewritten; linksRewriteTruncated past 100 keys, 500 with full search). Retry-safe. Errors: 404 route_not_found; 400 reserved_route, invalid_body; 422 rename_same_path, rename_pattern_route (:param), rename_redirect_route (edit its redirectTo); 409 rename_experiment_running (end the A/B test), rename_target_exists (200 if to already serves it). Then publish_site.
| Parameter | Type | Description |
|---|---|---|
| to * | string | New route path, e.g. /new-page |
| from * | string | Current route path, e.g. /old-page |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| leaveRedirect | boolean | Leave a 301 from the old path to the new one (default true). false removes the old path outright — old links break. |
{
"name": "rename_page",
"description": "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). Root-relative and https://{slug}.dotsy.site/ hrefs in draft HTML are rewritten (linksRewritten; linksRewriteTruncated past 100 keys, 500 with full search). Retry-safe. Errors: 404 route_not_found; 400 reserved_route, invalid_body; 422 rename_same_path, rename_pattern_route (:param), rename_redirect_route (edit its redirectTo); 409 rename_experiment_running (end the A/B test), rename_target_exists (200 if to already serves it). Then publish_site.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"leaveRedirect": {
"type": "boolean",
"description": "Leave a 301 from the old path to the new one (default true). false removes the old path outright — old links break."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Change page URL",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Remove a route by path.
| Parameter | Type | Description |
|---|---|---|
| path * | string | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "delete_route",
"description": "Remove a route by path.",
"inputSchema": {
"type": "object",
"required": [
"site",
"path"
],
"properties": {
"path": {
"type": "string"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete route",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}List site conversion goals (pageview paths and form submits). Required before start_test.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
{
"name": "list_goals",
"description": "List site conversion goals (pageview paths and form submits). Required before start_test.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "List goals",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create or replace all site conversion goals (≤50). Required before start_test when no goal exists.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| goals * | array | |
| context | string | Why this call (activity log). |
{
"name": "put_goals",
"description": "Create or replace all site conversion goals (≤50). Required before start_test when no goal exists.",
"inputSchema": {
"type": "object",
"required": [
"site",
"goals"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Replace goals",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Estimate days to reach promote readiness for a page (traffic baseline). Read-only.
| Parameter | Type | Description |
|---|---|---|
| path * | string | Route path, e.g. /pricing |
| site * | string | Site slug, e.g. acme-studio |
{
"name": "estimate_test",
"description": "Estimate days to reach promote readiness for a page (traffic baseline). Read-only.",
"inputSchema": {
"type": "object",
"required": [
"site",
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Route path, e.g. /pricing"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Estimate A/B test",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Start a same-URL A/B test (draft or live source). Rules → get_skill('verify') § A/B.
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| path * | string | |
| site * | string | Site slug, e.g. acme-studio |
| goalId * | string | |
| source * | string | one of ["draft","live"] |
| context | string | Why this call (activity log). |
| weights | array | |
| handsOff | boolean | 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 … |
| changeNote | string | One line on what the variant changes, shown on the test card (≤120 chars). |
| hypothesis | string |
{
"name": "start_test",
"description": "Start a same-URL A/B test (draft or live source). Rules → get_skill('verify') § A/B.",
"inputSchema": {
"type": "object",
"required": [
"site",
"path",
"goalId",
"source"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80
},
"path": {
"type": "string",
"minLength": 1
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"goalId": {
"type": "string",
"minLength": 1
},
"source": {
"enum": [
"draft",
"live"
],
"type": "string"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"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
},
"annotations": {
"title": "Start A/B test",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Promote a winning A/B variant to live — explicit user instruction only; see get_skill('verify') § A/B.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| variantId * | string | Winning variant arm id (usually "b"). |
| experimentId * | string | |
| loserDisposition | string | one of ["discard","keep_draft"] |
{
"name": "promote_experiment",
"description": "Promote a winning A/B variant to live — explicit user instruction only; see get_skill('verify') § A/B.",
"inputSchema": {
"type": "object",
"required": [
"site",
"experimentId",
"variantId"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"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
},
"annotations": {
"title": "Promote A/B winner",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Remove a draft A/B test (releases variant bodies; does not publish).
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| experimentId * | string |
{
"name": "delete_draft_test",
"description": "Remove a draft A/B test (releases variant bodies; does not publish).",
"inputSchema": {
"type": "object",
"required": [
"site",
"experimentId"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"experimentId": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete draft A/B test",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Record what was learned from an ended A/B test (≤500 chars; null clears).
| Parameter | Type | Description |
|---|---|---|
| note * | any | The learning, in plain words (≤500 chars, multiline ok) — null clears it. |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| experimentId * | string |
{
"name": "set_experiment_note",
"description": "Record what was learned from an ended A/B test (≤500 chars; null clears).",
"inputSchema": {
"type": "object",
"required": [
"site",
"experimentId",
"note"
],
"properties": {
"note": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
],
"description": "The learning, in plain words (≤500 chars, multiline ok) — null clears it."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"experimentId": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save A/B test note",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read a menu's draft items and etag; menu rules → get_skill('nav').
| Parameter | Type | Description |
|---|---|---|
| menu * | string | |
| site * | string | Site slug, e.g. acme-studio |
{
"name": "get_menu",
"description": "Read a menu's draft items and etag; menu rules → get_skill('nav').",
"inputSchema": {
"type": "object",
"required": [
"site",
"menu"
],
"properties": {
"menu": {
"type": "string",
"minLength": 1
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get menu",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Partial upsert one menu item: send only the fields to change; omitted fields keep their stored value and parent: null moves it to the top level. data/attrs merge per key (data: {desc} keeps data.icon; a null value removes that key). A new id needs label, kind and ref (parent defaults to null, sort to the end) and dedupes by (menu, ref) onto an item linking the same target. An existing id updates that exact item. Remove html/childTemplate via put_menu_doc.
| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| ref | string | |
| data | object | |
| html | string | |
| kind | string | one of ["page","url","anchor","mailto","group"] |
| menu * | string | |
| site * | string | Site slug, e.g. acme-studio |
| sort | integer | |
| attrs | object | |
| label | string | |
| newTab | boolean | |
| parent | ["string","null"] | |
| context | string | Why this call (activity log). |
| childShell | ["string","null"] | |
| childTemplate | string |
{
"name": "put_menu_item",
"description": "Partial upsert one menu item: send only the fields to change; omitted fields keep their stored value and parent: null moves it to the top level. data/attrs merge per key (data: {desc} keeps data.icon; a null value removes that key). A new id needs label, kind and ref (parent defaults to null, sort to the end) and dedupes by (menu, ref) onto an item linking the same target. An existing id updates that exact item. Remove html/childTemplate via put_menu_doc.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"childShell": {
"type": [
"string",
"null"
]
},
"childTemplate": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Save menu item",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Remove one item from a menu (page stays live).
| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| menu * | string | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "delete_menu_item",
"description": "Remove one item from a menu (page stays live).",
"inputSchema": {
"type": "object",
"required": [
"site",
"menu",
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"menu": {
"type": "string",
"minLength": 1
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete menu item",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Set final menu order. Pass ifMatch from get_menu; stale → 409 with current items.
| Parameter | Type | Description |
|---|---|---|
| menu * | string | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| ifMatch | string | |
| orderedIds * | array |
{
"name": "reorder_menu",
"description": "Set final menu order. Pass ifMatch from get_menu; stale → 409 with current items.",
"inputSchema": {
"type": "object",
"required": [
"site",
"menu",
"orderedIds"
],
"properties": {
"menu": {
"type": "string",
"minLength": 1
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"ifMatch": {
"type": "string"
},
"orderedIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Reorder menu",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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 — computed from the draft routes, so a link that won't show or leads nowhere shows up before publish.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| source | string | Which doc to read. Default draft. |
{
"name": "get_menu_doc",
"description": "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 — computed from the draft routes, so a link that won't show or leads nowhere shows up before publish.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"source": {
"enum": [
"draft",
"live"
],
"type": "string",
"description": "Which doc to read. Default draft."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get all menus",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Replace the whole menu doc (ifMatch from get_menu_doc required). Each item may omit menu — the enclosing menu key in doc is used.
| Parameter | Type | Description |
|---|---|---|
| doc * | object | |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| ifMatch * | string | Whole-doc etag from get_menu_doc. Required (sent as If-Match). |
{
"name": "put_menu_doc",
"description": "Replace the whole menu doc (ifMatch from get_menu_doc required). Each item may omit menu — the enclosing menu key in doc is used.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"ifMatch": {
"type": "string",
"description": "Whole-doc etag from get_menu_doc. Required (sent as If-Match)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Replace all menus",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}CMS uploads under assets/ only — not mirrored clone CDN (get_site mirroredAssets or import warmJob). Not content — use list_content. Live in the editor and preview at once; on the live site after the next publish.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| limit | integer | |
| cursor | string |
{
"name": "list_assets",
"description": "CMS uploads under assets/ only — not mirrored clone CDN (get_site mirroredAssets or import warmJob). Not content — use list_content. Live in the editor and preview at once; on the live site after the next publish.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1
},
"cursor": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "List assets",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read one asset (metadata + base64 + stored sha256). sha256 is the stored blob; may differ from upload bodySha256 when IMAGES re-encodes rasters. Live in the editor and preview at once; on the live site after the next publish.
| Parameter | Type | Description |
|---|---|---|
| key * | string | 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. |
| site * | string | Site slug, e.g. acme-studio |
{
"name": "get_asset",
"description": "Read one asset (metadata + base64 + stored sha256). sha256 is the stored blob; may differ from upload bodySha256 when IMAGES re-encodes rasters. Live in the editor and preview at once; on the live site after the next publish.",
"inputSchema": {
"type": "object",
"required": [
"site",
"key"
],
"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."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get asset",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Upload 1–200 CMS assets; key = path after /assets/, or sitePath for an exact URL path (e.g. /ads.txt). Each item: exactly one of bodyBase64, bodyText (plain text for .css/.js/.mjs/.json/.svg/.txt/.xml only, not .html), or importFromUrl. Up to 5 MB per asset (10 MB paid); the 60KB page limit doesn't apply. Big files: importFromUrl or dotsy push (bytes skip the model). Optional bodySha256 checks sent bytes; response sha256 = stored bytes. JPEG/PNG/static GIF become WebP (key 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 next publish.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| items * | array | |
| context | string | Why this call (activity log). |
{
"name": "bulk_put_assets",
"description": "Upload 1–200 CMS assets; key = path after /assets/, or sitePath for an exact URL path (e.g. /ads.txt). Each item: exactly one of bodyBase64, bodyText (plain text for .css/.js/.mjs/.json/.svg/.txt/.xml only, not .html), or importFromUrl. Up to 5 MB per asset (10 MB paid); the 60KB page limit doesn't apply. Big files: importFromUrl or dotsy push (bytes skip the model). Optional bodySha256 checks sent bytes; response sha256 = stored bytes. JPEG/PNG/static GIF become WebP (key 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 next publish.",
"inputSchema": {
"type": "object",
"required": [
"site",
"items"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Upload assets",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Delete a static asset by key. The editor and draft preview drop it at once; the published site drops it at the next publish.
| Parameter | Type | Description |
|---|---|---|
| key * | string | 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. |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "delete_asset",
"description": "Delete a static asset by key. The editor and draft preview drop it at once; the published site drops it at the next publish.",
"inputSchema": {
"type": "object",
"required": [
"site",
"key"
],
"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."
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete asset",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Shrink heavy images in place (0.98): JPEG/PNG/still GIF → WebP at the same address, so no HTML changes. keys = site paths from verify_page health.assets[].ref — /assets/… uploads or clone paths like /wp-content/… (1–50 per call). Skips animated images, already-small files and non-images (`skipped`); idempotent. The replaced file is kept under .originals (never served). Spends the daily image budget like an upload — dryRun:true reports the saving without spending it. The draft serves the smaller file at once; live after you publish (some imported files sooner).
| Parameter | Type | Description |
|---|---|---|
| keys * | array | Site paths of the images, e.g. /assets/hero.jpg or /wp-content/uploads/photo.png. |
| site * | string | Site slug, e.g. acme-studio |
| dryRun | boolean | Report before/after sizes only; writes nothing and spends no budget. |
| context | string | Why this call (activity log). |
{
"name": "optimize_assets",
"description": "Shrink heavy images in place (0.98): JPEG/PNG/still GIF → WebP at the same address, so no HTML changes. keys = site paths from verify_page health.assets[].ref — /assets/… uploads or clone paths like /wp-content/… (1–50 per call). Skips animated images, already-small files and non-images (`skipped`); idempotent. The replaced file is kept under .originals (never served). Spends the daily image budget like an upload — dryRun:true reports the saving without spending it. The draft serves the smaller file at once; live after you publish (some imported files sooner).",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"dryRun": {
"type": "boolean",
"description": "Report before/after sizes only; writes nothing and spends no budget."
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Shrink images",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}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 (public link); unshare: take it down; 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 scores it returns.
| Parameter | Type | Description |
|---|---|---|
| id | string | With action:'history': a result id. |
| on | boolean | With action:'auto': true or false. |
| site * | string | Site slug, e.g. acme-studio |
| fixes | array | |
| action | string | one of ["get","run","fix","auto","share","unshare","history"] |
| context | string | Why this call (activity log). |
| scripts | array | |
| compareTo | string | With action:'history' and id: another result id. |
{
"name": "speed_compare",
"description": "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 (public link); unshare: take it down; 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 scores it returns.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"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
},
"annotations": {
"title": "Speed compare",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}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, write them in one apply_changeset, and publish_site. Target path = language folder + source path unless an item sets `path`; an existing path is left untouched.
| Parameter | Type | Description |
|---|---|---|
| from | string | Copy from this translation's path instead of the main-language page. |
| lang * | string | Language of the new pages, e.g. de or pt-BR. |
| site * | string | Site slug, e.g. acme-studio |
| paths * | array | Source paths, or {from, path} to choose the new path. |
| context | string | Why this call (activity log). |
{
"name": "translate_page",
"description": "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, write them in one apply_changeset, and publish_site. Target path = language folder + source path unless an item sets `path`; an existing path is left untouched.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Translate pages",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Start one draft site with no dotsy account. Returns slug + guestToken — pass guestToken on every later tool call until claim_site.
| Parameter | Type | Description |
|---|---|---|
| title | string | |
| purpose | string |
{
"name": "start_site",
"description": "Start one draft site with no dotsy account. Returns slug + guestToken — pass guestToken on every later tool call until claim_site.",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 200
},
"purpose": {
"type": "string",
"maxLength": 2000
}
},
"additionalProperties": false
},
"annotations": {
"title": "Start guest draft site",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Move the guest draft onto your signed-in dotsy account. Requires OAuth Connect; pass the guestToken from start_site.
| Parameter | Type | Description |
|---|---|---|
| context | string | Why this call (activity log). |
| guestToken * | string | Guest token from start_site (required). |
{
"name": "claim_site",
"description": "Move the guest draft onto your signed-in dotsy account. Requires OAuth Connect; pass the guestToken from start_site.",
"inputSchema": {
"type": "object",
"required": [
"guestToken"
],
"properties": {
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (required)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Claim guest draft site",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Paige build skills (id + whenToUse). Pull get_skill on demand — do not duplicate in tool text.
No parameters.
{
"name": "list_skills",
"description": "Paige build skills (id + whenToUse). Pull get_skill on demand — do not duplicate in tool text.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "List build skills",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Skill id or synonym from list_skills, e.g. intake, clone, list, menu |
{
"name": "get_skill",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Skill id or synonym from list_skills, e.g. intake, clone, list, menu"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get build skill",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Optional mid-session feedback (required feedback rides with publish_site).
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| title * | string | |
| context | string | Why this call (activity log). |
| category * | string | missing_tool | blocking_error | extra_round_trips | confusing_response | workaround | other |
| findings | array | |
| description | string | |
| impactPercent * | integer | |
| suggestedImprovement | string |
{
"name": "submit_feedback",
"description": "Optional mid-session feedback (required feedback rides with publish_site).",
"inputSchema": {
"type": "object",
"required": [
"site",
"category",
"impactPercent",
"title"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"title": {
"type": "string"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"category": {
"enum": [
"missing_tool",
"blocking_error",
"extra_round_trips",
"confusing_response",
"workaround",
"other"
],
"type": "string",
"description": "missing_tool | blocking_error | extra_round_trips | confusing_response | workaround | other"
},
"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
},
"annotations": {
"title": "Send feedback",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}List site activity or fetch one change diff (pass id). Filters: who, state, actor (me), since, until, limit≤20. Notes from context are visible to everyone on the site — no secrets.
| Parameter | Type | Description |
|---|---|---|
| id | string | Event id: returns its diff. |
| key | string | Content key when id is set (default first key in the event). |
| who | string | Default all. |
| slug * | string | Site slug, e.g. acme-studio |
| actor | string | Actor id or me. |
| limit | integer | Page size (default 20). |
| since | string | ISO date (default 7 days). |
| state | string | needs_review = agent drafts awaiting a person's publish. |
| until | string | |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
{
"name": "get_activity",
"description": "List site activity or fetch one change diff (pass id). Filters: who, state, actor (me), since, until, limit≤20. Notes from context are visible to everyone on the site — no secrets.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"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": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Site activity",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List the site's published versions, newest first (who, when, pages, live, restorable). Use before restore_version.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| limit | integer | Page size (default 20). |
| cursor | string | nextCursor from the previous call. |
{
"name": "list_versions",
"description": "List the site's published versions, newest first (who, when, pages, live, restorable). Use before restore_version.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Page size (default 20)."
},
"cursor": {
"type": "string",
"description": "nextCursor from the previous call."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List published versions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Bring an earlier published version back as unpublished changes (page content only — routes, menus, images and settings stay). version: a number from list_versions, or "previous". dryRun: show what would change. Then review and publish_site, or discard_drafts to undo; publish:true makes it live at once.
| Parameter | Type | Description |
|---|---|---|
| keys | array | Restore only these content keys (single-page restore: CORE workspaces). Default: the whole version. |
| site * | string | Site slug, e.g. acme-studio |
| dryRun | boolean | Only list what would change; writes nothing. |
| context | string | Why this call (activity log). |
| publish | boolean | Publish exactly the restored pages at once (live-mode sites). Default false: they stay unpublished changes. |
| version * | any | A version from list_versions, or "previous" (the one before live). |
| removeAdded | boolean | Remove pages added since the version. Default true. |
| replaceDrafts | boolean | Replace unpublished changes on the pages the restore touches. Without it such a restore answers 409 drafts_pending. |
{
"name": "restore_version",
"description": "Bring an earlier published version back as unpublished changes (page content only — routes, menus, images and settings stay). version: a number from list_versions, or \"previous\". dryRun: show what would change. Then review and publish_site, or discard_drafts to undo; publish:true makes it live at once.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"dryRun": {
"type": "boolean",
"description": "Only list what would change; writes nothing."
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"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
},
"annotations": {
"title": "Restore a version",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Take back the last publish at once: restores the previous version of the pages it changed and publishes them; the undone changes stay as unpublished changes (`restaged`). On a live-mode site nothing is kept (its next save would republish it): the answer has `redo.version` — restore_version with it and publish: true brings it back. publishVersion = what publish_site returned. not_latest if another publish landed since. If its publish fails, the undo stays unpublished — publish_site finishes it.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| publishVersion * | integer | The version the publish to undo returned. |
{
"name": "undo_publish",
"description": "Take back the last publish at once: restores the previous version of the pages it changed and publishes them; the undone changes stay as unpublished changes (`restaged`). On a live-mode site nothing is kept (its next save would republish it): the answer has `redo.version` — restore_version with it and publish: true brings it back. publishVersion = what publish_site returned. not_latest if another publish landed since. If its publish fails, the undo stays unpublished — publish_site finishes it.",
"inputSchema": {
"type": "object",
"required": [
"site",
"publishVersion"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"publishVersion": {
"type": "integer",
"description": "The version the publish to undo returned.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"title": "Undo last publish",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Undo one activity event by staging the prior version as draft only — call publish_site to go live. Respects AI access.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Activity event id from get_activity. |
| keys | array | Undo only these keys of the change. Default: every key. |
| slug * | string | Site slug, e.g. acme-studio |
| reason | string | Why — shown next to 'Reverted by …'. Visible to everyone on the site. |
| context | string | Why this call (activity log). |
| guestToken | string | Guest token from start_site (pgg_…). Omit when signed in with OAuth. |
{
"name": "revert_change",
"description": "Undo one activity event by staging the prior version as draft only — call publish_site to go live. Respects AI access.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
},
"guestToken": {
"type": "string",
"minLength": 20,
"description": "Guest token from start_site (pgg_…). Omit when signed in with OAuth."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Revert one change",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Account, user, memberships[]. Pass workspace on writes when memberships.length > 1.
| Parameter | Type | Description |
|---|---|---|
| workspace | ["string","null"] | Workspace org id or slug (multi-workspace only; omit if one workspace). |
{
"name": "get_account_context",
"description": "Account, user, memberships[]. Pass workspace on writes when memberships.length > 1.",
"inputSchema": {
"type": "object",
"properties": {
"workspace": {
"type": [
"string",
"null"
],
"description": "Workspace org id or slug (multi-workspace only; omit if one workspace)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Account context",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| kind | string | bug (default) files a ticket. question runs the help-centre AI turn (use actual as the question text). |
| page | string | Route path or content key. |
| site | string | Site it happened on. Omit for an account-level issue. Stored as about.site; the ticket is filed in dotsy's inbox. |
| tool | string | |
| model | string | Self-declared, display only. |
| steps | array | |
| title * | string | |
| actual * | string | What happened. |
| context | string | Why this call (activity log). |
| expected | string | |
| severity * | string | one of ["blocking","major","minor"] |
| reportedBy * | string | user = the human asked you to report it. |
| requestIds | array | |
| attachments | array | Ids from POST /api/v1/support/attachments. No file bytes. |
| operationId | string |
{
"name": "report_bug",
"description": "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.",
"inputSchema": {
"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; the ticket is 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 (activity log)."
},
"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
},
"annotations": {
"title": "Report a dotsy bug",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Your dotsy bug reports. Omit id for the list; pass id for one ticket and its public replies.
| Parameter | Type | Description |
|---|---|---|
| id | integer | Omit for your list; pass a ticket id for one report and its replies. |
| cursor | string |
{
"name": "get_report",
"description": "Your dotsy bug reports. Omit id for the list; pass id for one ticket and its public replies.",
"inputSchema": {
"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
},
"annotations": {
"title": "Your bug reports",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Add information or answer dotsy's question on your own report.
| Parameter | Type | Description |
|---|---|---|
| id * | integer | |
| text * | string | |
| context | string | Why this call (activity log). |
| requestIds | array | |
| attachments | array | Ids from POST /api/v1/support/attachments. No file bytes. |
{
"name": "reply_to_report",
"description": "Add information or answer dotsy's question on your own report.",
"inputSchema": {
"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 (activity log)."
},
"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
},
"annotations": {
"title": "Reply to your report",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Connect apex and/or www on a paid plan; starts a DNS connect session.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| hosts | array | 1–2 hostnames: apex (example.com) and/or www (www.example.com). |
| domain | string | Bare domain when hosts omitted (apex + www); a subdomain connects as-is. |
| context | string | Why this call (activity log). |
{
"name": "add_custom_domain",
"description": "Connect apex and/or www on a paid plan; starts a DNS connect session.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Add custom domain",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Current connect session and nextAction (browser URL or manual DNS guide).
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| sessionId | string | Connect session id; omit to resume. |
{
"name": "get_custom_domain_connect",
"description": "Current connect session and nextAction (browser URL or manual DNS guide).",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"sessionId": {
"type": "string",
"description": "Connect session id; omit to resume."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Custom domain setup",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Re-apply DNS with stored Cloudflare OAuth grant (no browser).
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "reapply_custom_domain_oauth",
"description": "Re-apply DNS with stored Cloudflare OAuth grant (no browser).",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Reapply domain DNS",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Poll one hostname until DNS/cert propagates.
| Parameter | Type | Description |
|---|---|---|
| host * | string | Hostname to refresh, e.g. www.example.com |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "refresh_custom_domain",
"description": "Poll one hostname until DNS/cert propagates.",
"inputSchema": {
"type": "object",
"required": [
"site",
"host"
],
"properties": {
"host": {
"type": "string",
"minLength": 1,
"description": "Hostname to refresh, e.g. www.example.com"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Check custom domain",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Poll one hostname until it is connected or the timeout is reached.
| Parameter | Type | Description |
|---|---|---|
| host * | string | Hostname to wait for, e.g. www.example.com |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| timeoutSec | integer | Max seconds to wait (default 300, max 600). |
| intervalSec | integer | Seconds between polls (default 30, min 10, max 60). |
{
"name": "wait_for_custom_domain",
"description": "Poll one hostname until it is connected or the timeout is reached.",
"inputSchema": {
"type": "object",
"required": [
"site",
"host"
],
"properties": {
"host": {
"type": "string",
"minLength": 1,
"description": "Hostname to wait for, e.g. www.example.com"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"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
},
"annotations": {
"title": "Wait for custom domain",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Set the canonical host (301 target).
| Parameter | Type | Description |
|---|---|---|
| host * | string | Connected hostname to make primary |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
{
"name": "set_primary_custom_domain",
"description": "Set the canonical host (301 target).",
"inputSchema": {
"type": "object",
"required": [
"site",
"host"
],
"properties": {
"host": {
"type": "string",
"minLength": 1,
"description": "Connected hostname to make primary"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set primary domain",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List all custom hostnames and connection status for the site. A connected bare domain with redirectorState "attention" is NOT redirecting (see `attention`).
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
{
"name": "list_custom_domains",
"description": "List all custom hostnames and connection status for the site. A connected bare domain with redirectorState \"attention\" is NOT redirecting (see `attention`).",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "List custom domains",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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. 503: retry.
| Parameter | Type | Description |
|---|---|---|
| host * | string | The bare domain, e.g. example.com |
| site * | string | Site slug, e.g. acme-studio |
| cancel | boolean | Stop a set-up that has not gone live and restore the previous state exactly |
| context | string | Why this call (activity log). |
{
"name": "set_up_bare_domain",
"description": "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. 503: retry.",
"inputSchema": {
"type": "object",
"required": [
"site",
"host"
],
"properties": {
"host": {
"type": "string",
"minLength": 1,
"description": "The bare domain, e.g. example.com"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set up bare domain",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Remove one custom hostname from the site.
| Parameter | Type | Description |
|---|---|---|
| host * | string | Hostname to remove |
| site * | string | Site slug, e.g. acme-studio |
| context | string | Why this call (activity log). |
| alsoRemoveApex | boolean | Also remove bare domain |
{
"name": "remove_custom_domain",
"description": "Remove one custom hostname from the site.",
"inputSchema": {
"type": "object",
"required": [
"site",
"host"
],
"properties": {
"host": {
"type": "string",
"minLength": 1,
"description": "Hostname to remove"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"context": {
"type": "string",
"minLength": 1,
"description": "Why this call (activity log)."
},
"alsoRemoveApex": {
"type": "boolean",
"description": "Also remove bare domain"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Remove custom domain",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}List form submissions (metadata + bounded field preview — not full PII). Works on kv and do-sqlite backends.
| Parameter | Type | Description |
|---|---|---|
| q | string | Search reply-to email (indexed) |
| form * | string | Form id from dotsy-config, e.g. contact |
| site * | string | Site slug, e.g. acme-studio |
| toMs | integer | |
| limit | integer | |
| cursor | string | |
| fromMs | integer |
{
"name": "list_form_submissions",
"description": "List form submissions (metadata + bounded field preview — not full PII). Works on kv and do-sqlite backends.",
"inputSchema": {
"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",
"description": "Site slug, e.g. acme-studio"
},
"toMs": {
"type": "integer"
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"cursor": {
"type": "string"
},
"fromMs": {
"type": "integer"
}
},
"additionalProperties": false
},
"annotations": {
"title": "List form submissions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Who a site's forms may email. A form's `to` address gets submissions only when it is a verified site member or it confirmed by a one-click link we email it (no account, no sign-in, no site access). 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). A publish already sends the link once by itself when a form emails an unconfirmed address. Never ask the user for the link — it goes to that inbox only.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug, e.g. acme-studio |
| string | The address (required for status, request, revoke) | |
| action * | string | one of ["list","status","request","revoke"] |
| context | string | Why this call (activity log). |
{
"name": "form_recipients",
"description": "Who a site's forms may email. A form's `to` address gets submissions only when it is a verified site member or it confirmed by a one-click link we email it (no account, no sign-in, no site access). 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). A publish already sends the link once by itself when a form emails an unconfirmed address. Never ask the user for the link — it goes to that inbox only.",
"inputSchema": {
"type": "object",
"required": [
"site",
"action"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
},
"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 (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Manage form email recipients",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Read one form submission with the full field payload (explicit PII access — use only when needed).
| Parameter | Type | Description |
|---|---|---|
| id * | string | Submission id from list_form_submissions |
| site * | string | Site slug, e.g. acme-studio |
{
"name": "get_form_submission",
"description": "Read one form submission with the full field payload (explicit PII access — use only when needed).",
"inputSchema": {
"type": "object",
"required": [
"site",
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Submission id from list_form_submissions"
},
"site": {
"type": "string",
"description": "Site slug, e.g. acme-studio"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read form submission",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| tab | string | Tab filter (default: both classes in one list). |
| slug | string | Site slug — required when scope is site. |
| scope | string | Scope filter (default all workspaces you belong to). |
| unreadOnly | boolean | When true, only unread rows. |
{
"name": "list_notifications",
"description": "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.",
"inputSchema": {
"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
},
"annotations": {
"title": "List notifications",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| all | boolean | Mark every Update read across all your workspaces. |
| ids | array | Update row ids from list_notifications (max 100). |
| context | string | Why this call (activity log). |
{
"name": "mark_notifications_read",
"description": "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.",
"inputSchema": {
"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 (activity log)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Mark notifications read",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| q | string | |
| limit | integer | |
| cursor | string | |
| status | string | Dashboard section, newest first; page with limit + cursor. |
| workspace | ["string","null"] | Workspace org id or slug (multi-workspace only; omit if one workspace). |
{
"name": "list_my_sites",
"description": "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.",
"inputSchema": {
"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 org id or slug (multi-workspace only; omit if one workspace)."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Your sites",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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 — adds layout/noLayout/q filters, what each page places, and indexing progress; use that for 'what pages use this layout' or 'is this page indexed yet', not for route settings. Paginated — pass cursor (from nextCursor) for more; partial:true means this page is a window, not the full route set.
| Parameter | Type | Description |
|---|---|---|
| q | string | Only with view:'pages'. Case-insensitive substring match on path or title. |
| site * | string | Site slug. |
| view | string | pages: group by layout — enables layout/noLayout/q below, adds page-structure fields and indexing progress. Omit for the default per-route listing. |
| limit | integer | Pages per page (server default applies when omitted). |
| cursor | string | Resume from a prior response's nextCursor. |
| layout | string | Only with view:'pages'. Layout file key (e.g. layouts/store.html, or bare 'store') — only pages using it. Exclusive with noLayout. |
| noLayout | boolean | Only with view:'pages'. Only pages with no layout (routeless keys included). Exclusive with layout. |
{
"name": "list_pages",
"description": "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 — adds layout/noLayout/q filters, what each page places, and indexing progress; use that for 'what pages use this layout' or 'is this page indexed yet', not for route settings. Paginated — pass cursor (from nextCursor) for more; partial:true means this page is a window, not the full route set.",
"inputSchema": {
"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 below, adds page-structure fields and indexing progress. Omit for the default per-route listing."
},
"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 (e.g. layouts/store.html, or bare 'store') — only pages using it. Exclusive with noLayout."
},
"noLayout": {
"type": "boolean",
"description": "Only with view:'pages'. Only pages with no layout (routeless keys included). Exclusive with layout."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Site pages",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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).
| Parameter | Type | Description |
|---|---|---|
| path | string | Route path (default /). |
| site * | string | Site slug. |
| stage | string | Preview stage. Default draft; published is planned but not supported yet. |
{
"name": "edit_page",
"description": "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).",
"inputSchema": {
"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
},
"annotations": {
"title": "Page canvas",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| site * | string | Site slug. |
{
"name": "get_site_build_progress",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"site"
],
"properties": {
"site": {
"type": "string",
"description": "Site slug."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Build progress",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Guest: start_site → guestToken on draft tools → claim_site (OAuth). Signed-in: OAuth Bearer on protected tools. 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 show in editor/draft preview at once, live after publish. Bulk edits: apply_changeset (writes[].route) 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 (301). 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'). Changes since last session: get_activity; revert_change undoes one. siteState: site state + one next step. needs = values the person gives (ask); fill = values you fill from the result.
Names, descriptions and schemas were written by the server and are shown as data.