Koskamo

Cactal MCP

Cactal is an agent-native website platform that provides an official MCP server, allowing AI agents to create, edit, publish, and operate production websites. The server exposes the same operations, permissions, and audit trails as the dashboard and REST API, enabling agents to manage source code, CMS content, domains, assets, and analytics.

Endpoint and access

Optional OAuth sign-in: the endpoint lists tools without signing in. Account tools can prompt OAuth in your client; other task prerequisites may also apply.

Cactal MCP logo, by CactalVendor evidenceStreamable HTTPOptional OAuth sign-inEndpoint checked 2026-11-23Operated by Cactal
You need:Create an API keyAuthenticate the API and MCP with a scoped key.
MCP endpoint (Streamable HTTP)
https://api.cactal.ai/v1/mcp
Vendor documentation

What its tools do

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

87 of 87 have a description · 87 of 87 declare behavior hints · 9 of 86 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

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

What you can do with it

  • Create, edit, and publish websites via API
  • Manage CMS content and structured data
  • Configure domains, assets, and SEO metadata
  • Connect external AI agents for site operations

Source and maintenance

Vendor evidenceRegistry 1.0.0

Protocol and capabilities

Server
cactal-public-api 1.0.0
MCP protocol negotiated in check
2025-11-25
Tools
87 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {}
}

Server-provided instructions

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

Cactal builds and runs production websites: React + Tailwind source, CMS content, assets, forms, domains, analytics, and publishing. Before working on something, read the matching guide with skills_read. profile_get names the organizations and websites you can use. Read websiteKnowledge_project_get before working on a website. Publishing changes the live site, so publish only when the user asks. Before building a new website, ask what it is for and for any link where it already appears online (a current site, Google listing, Instagram, or Yelp), unless the user already said, so it is built from their real details and photos. Editing: find files with websiteSourceCode_files_search or websiteSourceCode_files_list, read with websiteSourceCode_files_read, and change them with websiteSourceCode_files_strReplace (many files in one commit; dryRun previews) or websiteSourceCode_files_upsert. Edits become draft versions and never touch the live site. Check with websiteSourceCode_head_check and look at the draft with websitePreview_capture. Publish with websiteSourceCode_head_publish, passing the checked version, then poll websiteSourceCode_deployment_status. websiteSourceCode_published_unpublish takes a site offline and keeps its history. Record what the user states that later work needs with websiteKnowledge_agentNotes_edit. Server functions are source files that run on the server with the website's secrets as env. Test one on the draft with websiteFunctions_invoke, which makes its real outgoing requests, and debug with websiteFunctions_runs_list. MCP never sets or reads secret values: websiteSecrets_list shows which names exist, and the user adds or replaces values at the link it returns. Never ask the user to paste a secret into the conversation. docs_search and docs_read cover setup, the API reference, limits, and plans. Plans and billing change in the Cactal dashboard, never here. Failed calls return isError with a kind, a message, and usually a suggestion naming the next step.

Tools

87 advertised

feedback_submit — Submit product feedback
Advertised by the server during the last successful anonymous check.

Adds user-requested free-form feedback to the Cactal product-feedback inbox. Describe what happened and what would have made the experience better. Agents must set `authorKind` to `agent` even when acting through a user OAuth connection. Never include credentials, secrets, raw sensitive user content, or unnecessary personal or customer data.

feedback_submit input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "authorKind",
    "feedback"
  ],
  "properties": {
    "feedback": {
      "type": "string",
      "maxLength": 12000,
      "minLength": 1,
      "description": "Concise free-form feedback describing the Cactal problem or limitation and what would have made the experience better."
    },
    "authorKind": {
      "enum": [
        "user",
        "agent"
      ],
      "type": "string",
      "description": "Who wrote the feedback. An AI agent must pass \"agent\" even when connected through a user OAuth token."
    }
  }
}
feedback_submit annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
websites_list — List websites
Advertised by the server during the last successful anonymous check.
Advertised read-only

Lists accessible websites. By default returns active websites: use `organizationId` to scope one organization, `scope=shared` without it for direct grants outside your memberships, or `scope=all` with it to combine both; supports `sort` by `createdAt`, `updatedAt`, or `name` and case-insensitive `search`, and each item includes `organizationSlug`, `primaryHostname`, and whether it is `shared`. Pass `status=deleted` with `organizationId` (requires organization-level trash access) to list restorable soft-deleted websites instead, each with its deletion time and purge deadline; deleted rows drop out when their 30-day restore window expires. Both modes use cursor pagination (default 20 per page, maximum 100). Fetch one website with `websites.get`.

websites_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "sort": {
      "enum": [
        "createdAt",
        "updatedAt",
        "name"
      ],
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1
    },
    "scope": {
      "enum": [
        "shared",
        "all"
      ],
      "type": "string"
    },
    "cursor": {
      "type": "string"
    },
    "search": {
      "type": "string",
      "maxLength": 200
    },
    "status": {
      "enum": [
        "active",
        "deleted"
      ],
      "type": "string",
      "description": "Which websites to list. Defaults to `active`. `deleted` returns the organization’s restorable soft-deleted websites (requires `organizationId` and organization-level trash access) with their deletion time and purge deadline."
    },
    "organizationId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websites_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websites_get — Get a website
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns a single website by `websiteId`, or by its `organizationSlug` + `websiteSlug` pair when starting from a URL — provide exactly one of the two identifications. The response includes whether the caller can manage the website’s CMS schema and domains. Websites in the trash remain retrievable by id (see `websites.list` with `status=deleted` for their purge timing); slug lookups only resolve active websites, and inaccessible or deleted resources return 404.

websites_get input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1,
      "description": "Website id. Provide either this or the `organizationSlug` + `websiteSlug` pair."
    },
    "websiteSlug": {
      "type": "string",
      "description": "Website URL slug within the organization. Pair with `organizationSlug`."
    },
    "organizationSlug": {
      "type": "string",
      "description": "URL slug of the owning organization. Pair with `websiteSlug` to look the website up by slug instead of id."
    }
  }
}
websites_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websites_create — Create a website
Advertised by the server during the last successful anonymous check.

Creates a website in the organization. Provide either a `name` (trimmed, 1–200 characters) or a creation `prompt`; a prompt returns immediately with the temporary name `Untitled site`, which the built-in naming request attempts to replace on its next run together with a matching available slug and platform hostname. The hostname receives a short suffix when the clean hostname is unavailable. An omitted `slug` is allocated from the initial name; an explicit slug must be lowercase, URL-safe, unreserved, and unique among active websites in the organization. The website starts as an unpublished draft at `headVersion` 1. Send an `idempotencyKey` to make retries return the same website. Edit its source through the Source code operations, then publish with `websiteSourceCode.head.publish`.

websites_create input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "organizationId"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    },
    "slug": {
      "type": "string"
    },
    "prompt": {
      "type": "string",
      "maxLength": 100000,
      "minLength": 1
    },
    "idempotencyKey": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Caller-generated key, such as a UUID, that makes creation safe to retry. Send the same key on every retry of one creation attempt: when this organization already has a website created with the key, that website is returned and no second website is created. A key whose website is in the trash returns a 409 with `idempotencyKeyStatus: \"deleted\"`; retry with a new key."
    },
    "organizationId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websites_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
websites_rename — Rename a website
Advertised by the server during the last successful anonymous check.

Updates the website’s display name and, when supplied, its URL slug. The slug must be lowercase, URL-safe, unreserved, and unique among active websites in the organization.

websites_rename input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    },
    "slug": {
      "type": "string"
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websites_rename annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteDomains_list — List domains for a website
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns every domain record attached to the website, oldest first: the automatically allocated platform subdomain plus any custom domains. Platform subdomains are always `active`; custom domains carry their current verification status and the DNS records still expected.

websiteDomains_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteDomains_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteDomains_createCustomDomain — Add a custom domain
Advertised by the server during the last successful anonymous check.
Open-world

Claims `hostname` for this website and registers it with the Cactal edge. Custom domains must first be enabled for the website (`websiteDomains.setEnabled`, owner-only — enabling is the billing moment); the request fails with 403 `custom_domains_disabled` otherwise. Adding or removing domains on an enabled website never changes billing. The domain is created in `pending_dns` status, and the returned `dnsRecords` list exactly what to create at your DNS provider: an ownership TXT record on `_cactal.<hostname>` plus a routing record (a CNAME for subdomains or an A record for apex domains). Hostnames must be lowercase ASCII domains (not IP addresses or Cactal platform hosts), each website can have at most 10 custom domains, and a hostname can be claimed by only one website; claims that never verify expire after 7 days. After creating the records, call the verify endpoint or wait for the automatic re-checks.

websiteDomains_createCustomDomain input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "hostname"
  ],
  "properties": {
    "hostname": {
      "type": "string",
      "minLength": 1
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteDomains_createCustomDomain annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteDomains_verifyCustomDomain — Verify a custom domain
Advertised by the server during the last successful anonymous check.
Open-world

Re-checks the ownership TXT record, edge readiness, and whether an HTTPS request to the hostname reaches this Cactal domain, then returns the updated status. A customer CDN or reverse proxy in front is supported when it forwards the verification request to Cactal. `failureMessage` distinguishes a missing ownership record, an unreachable hostname, and a hostname served somewhere else. Cactal asks the domain nameservers directly, so new records usually count on the next check, and this endpoint is safe to poll; Cactal also re-checks pending domains automatically (every minute for the first 2 hours, every 5 minutes for the first day, then every 15 minutes). The first custom domain to become active is promoted to primary automatically.

websiteDomains_verifyCustomDomain input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "domainId"
  ],
  "properties": {
    "domainId": {
      "type": "string",
      "minLength": 1
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteDomains_verifyCustomDomain annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteDomains_setPrimaryDomain — Set the primary custom domain
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Makes this domain the canonical hostname for the published website: requests reaching the platform subdomain or any other custom domain are permanently redirected (HTTP 308) to it, preserving path and query. Only `active` custom domains can be made primary — the request fails with 409 otherwise. Any previous primary is cleared in the same transaction.

websiteDomains_setPrimaryDomain input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "domainId"
  ],
  "properties": {
    "domainId": {
      "type": "string",
      "minLength": 1
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteDomains_setPrimaryDomain annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
websiteDomains_removeCustomDomain — Remove a custom domain
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Deregisters the hostname from the Cactal edge and deletes the domain record. If the removed domain was primary, the oldest remaining active custom domain is promoted automatically. If edge deregistration fails, the domain stays in `removing` status and a background sweep retries until it is gone. Platform subdomains cannot be removed.

websiteDomains_removeCustomDomain input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "domainId"
  ],
  "properties": {
    "domainId": {
      "type": "string",
      "minLength": 1
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteDomains_removeCustomDomain annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
websiteDomains_renamePlatformDomain — Rename the platform subdomain
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Moves the website to `<label>.<platform domain>`, the free address every website is allocated at creation. `label` is just the leading part: 1-40 characters, lowercase letters, digits, and inner hyphens, and it may not be one of the labels Cactal reserves. The change takes effect immediately, on published and draft hosts alike. The previous hostname is released at the same moment, with no redirect and no grace period, so any existing links to it break and another website may claim it. Take care on a published site. Fails with 409 when the label is already taken by another website; renaming to the label the website already has is a no-op. Custom domains are unaffected, and if one of them is primary it stays the canonical address.

websiteDomains_renamePlatformDomain input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "label"
  ],
  "properties": {
    "label": {
      "type": "string",
      "minLength": 1
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteDomains_renamePlatformDomain annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
websiteAssets_list — List or search assets
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns ready assets newest first as compact rows (`description`, `category`, dimensions, `url`, `srcSet`); fetch one asset for `originalUrl` and `variants`. Filter by `kind`, `category`, `type` (the broad MIME family: image, video, audio, font, or document), or `search`, which prefix-matches each term against the filename, description, and category; every term must match, else any term. Page size defaults to 50 (max 100).

websiteAssets_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "kind": {
      "enum": [
        "image",
        "file"
      ],
      "type": "string"
    },
    "type": {
      "enum": [
        "image",
        "video",
        "audio",
        "font",
        "document"
      ],
      "type": "string",
      "description": "Broad file type derived from the MIME type: image, video, audio, font, or document (everything else). Combines with kind, category, and search."
    },
    "limit": {
      "type": "integer",
      "default": 50,
      "maximum": 100,
      "minimum": 1
    },
    "cursor": {
      "type": "string"
    },
    "search": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Matches filename, description, and category; each term matches as a prefix."
    },
    "category": {
      "enum": [
        "logo",
        "icon",
        "photo",
        "illustration",
        "screenshot",
        "graphic",
        "background",
        "other"
      ],
      "type": "string",
      "description": "Only images with this category."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteAssets_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteAssets_get — Get an asset
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns the asset with `description`, `category`, and its CDN delivery shape: for transformable images `url` is the optimized 1920px default and `originalUrl` the original bytes; both never expire. MCP clients that render images also receive the image.

websiteAssets_get input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "assetId"
  ],
  "properties": {
    "assetId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteAssets_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteAssets_importFromUrl — Import assets from public URLs
Advertised by the server during the last successful anonymous check.
Open-world

Fetches 1-10 public http(s) URLs server-side, one at a time, and stores each as a ready asset with no upload or finalize step. Media only: images, fonts, PDF, audio, video, dotLottie, and Rive; text, data, documents, and archives are refused. Images, fonts, and PDFs must parse as what they claim, hosts on private addresses are rejected, the upload kind and MIME rules apply, and each download is capped at 30 MiB (larger files must be uploaded directly). Each item may carry a `description` and, for images, a `category`. Name each item by `url`, or by `photo`: the number over a picture on contact sheets `webResearch.profile` or `webResearch.viewImage` showed you, which saves copying its long signed link. `assets` carries successes with CDN URLs and `sourceUrl`; `errors` carries failures typed `invalid_url`, `non_public_address`, `unreachable`, `too_large`, `unsupported_type`, `signature_expired`, or `unknown_photo` (a number you were not shown or that expired; look at the pictures again for current numbers). Import only assets you have the right to use.

websiteAssets_importFromUrl input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "items"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Public http(s) URL of the file to import."
          },
          "photo": {
            "type": "integer",
            "maximum": 9007199254740991,
            "minimum": 1,
            "description": "Instead of `url`: the number over a picture on contact sheets `webResearch.profile` or `webResearch.viewImage` showed you."
          },
          "category": {
            "enum": [
              "logo",
              "icon",
              "photo",
              "illustration",
              "screenshot",
              "graphic",
              "background",
              "other"
            ],
            "type": "string",
            "description": "What the image is. Images only."
          },
          "filename": {
            "type": "string",
            "maxLength": 255,
            "minLength": 1,
            "description": "Stored filename; defaults to the URL path segment."
          },
          "description": {
            "type": "string",
            "maxLength": 500,
            "minLength": 1,
            "description": "One sentence: subject, visible text, style, intended use."
          }
        }
      },
      "maxItems": 10,
      "minItems": 1,
      "description": "Each item succeeds or fails on its own."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteAssets_importFromUrl annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteAssets_update — Update an asset
Advertised by the server during the last successful anonymous check.

Changes `filename`, `description`, or `category`. Pass only the fields to change; `null` clears a field. `category` is images only.

websiteAssets_update input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "assetId"
  ],
  "properties": {
    "assetId": {
      "type": "string",
      "minLength": 1
    },
    "category": {
      "anyOf": [
        {
          "enum": [
            "logo",
            "icon",
            "photo",
            "illustration",
            "screenshot",
            "graphic",
            "background",
            "other"
          ],
          "type": "string",
          "description": "What the image is. Images only."
        },
        {
          "type": "null"
        }
      ]
    },
    "filename": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "description": "Delivery URLs never change."
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500,
          "minLength": 1,
          "description": "One sentence: subject, visible text, style, intended use."
        },
        {
          "type": "null"
        }
      ]
    }
  }
}
websiteAssets_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteAssets_delete — Delete an asset
Advertised by the server during the last successful anonymous check.
Advertised destructive

Archives the asset: it immediately stops appearing in list responses and its id returns 404 from every asset endpoint. Archival cannot be undone through the API; previously issued CDN URLs keep serving the file.

websiteAssets_delete input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "assetId"
  ],
  "properties": {
    "assetId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteAssets_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
websiteKnowledge_project_get — Get project knowledge
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns the website’s durable project knowledge: the text the user maintains as `content`, plus the `agentNotes` Cactal distills from agent conversations. Both are included in every Cactal agent request. Read them before working on a website.

websiteKnowledge_project_get input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteKnowledge_project_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteKnowledge_project_edit — Edit project knowledge
Advertised by the server during the last successful anonymous check.
Advertised destructive

Applies exact-match text edits to the user’s project knowledge text, in order; an empty `oldStr` appends. Change it only when the user asks; agent-discovered facts belong in agent notes. A passage that no longer matches fails with `validation` and returns the current content.

websiteKnowledge_project_edit input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "edits"
  ],
  "properties": {
    "edits": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "oldStr",
          "newStr"
        ],
        "properties": {
          "newStr": {
            "type": "string",
            "maxLength": 20000,
            "description": "Replacement text."
          },
          "oldStr": {
            "type": "string",
            "maxLength": 20000,
            "description": "Exact text to find. Must match exactly once unless `replaceAll` is `true`. Empty appends `newStr` to the end."
          },
          "replaceAll": {
            "type": "boolean",
            "description": "Replace every occurrence instead of requiring a unique match."
          }
        }
      },
      "maxItems": 20,
      "minItems": 1,
      "description": "Edits applied in order against the evolving text."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteKnowledge_project_edit annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
websiteKnowledge_agentNotes_edit — Edit agent notes
Advertised by the server during the last successful anonymous check.

Applies exact-match text edits to the agent notes, in order; an empty `oldStr` appends. Record only durable facts, decisions, rejected directions, and constraints, one short line each, never progress logs or anything derivable from the website source. A passage that no longer matches fails with `validation` and returns the current notes.

websiteKnowledge_agentNotes_edit input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "edits"
  ],
  "properties": {
    "edits": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "oldStr",
          "newStr"
        ],
        "properties": {
          "newStr": {
            "type": "string",
            "maxLength": 20000,
            "description": "Replacement text."
          },
          "oldStr": {
            "type": "string",
            "maxLength": 20000,
            "description": "Exact text to find. Must match exactly once unless `replaceAll` is `true`. Empty appends `newStr` to the end."
          },
          "replaceAll": {
            "type": "boolean",
            "description": "Replace every occurrence instead of requiring a unique match."
          }
        }
      },
      "maxItems": 20,
      "minItems": 1,
      "description": "Edits applied in order against the evolving text."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteKnowledge_agentNotes_edit annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteKnowledge_list — List project context
Advertised by the server during the last successful anonymous check.
Advertised read-only

Lists the website’s private durable context entries: uploaded files and pasted text, each with a `title`, a generated `description`, and an `origin` of `upload` or `text`.

websiteKnowledge_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteKnowledge_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteKnowledge_create — Add project context from text
Advertised by the server during the last successful anonymous check.

Keeps pasted or typed text as a context entry the agent searches and reads when relevant, using one of the website’s 25 slots. Cactal titles and describes it. Use this for material the user gives you to keep; your own findings belong in agent notes.

websiteKnowledge_create input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 1000000,
      "description": "The text to keep, as plain text or Markdown."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteKnowledge_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteKnowledge_update — Update project context entry
Advertised by the server during the last successful anonymous check.
Advertised destructive

Renames a context entry or replaces the text the agent reads. Replacing text does not change the downloadable original; images have no text.

websiteKnowledge_update input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "resourceId"
  ],
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 1000000,
      "description": "Replaces the text the agent reads; images have none."
    },
    "title": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
    },
    "resourceId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteKnowledge_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
websiteKnowledge_read — Read project context resource
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read a bounded line range from a project context document. Read short relevant documents directly; search large documents first. Do not reread sufficient search passages.

websiteKnowledge_read input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "resourceId"
  ],
  "properties": {
    "endLine": {
      "type": "integer",
      "maximum": 9007199254740991,
      "exclusiveMinimum": 0
    },
    "startLine": {
      "type": "integer",
      "maximum": 9007199254740991,
      "exclusiveMinimum": 0
    },
    "resourceId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteKnowledge_read annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteKnowledge_search — Search project context documents
Advertised by the server during the last successful anonymous check.
Advertised read-only

Find evidence across selected project context documents. Batch independent queries; use passages directly when sufficient. Results merge overlapping text and include source ranges and zero-based queryIndexes into queries. matched reports a hit; truncated means evidence may be omitted, clipped means partial lines, and unavailableResourceIds were not searched. Resolve missing evidence before concluding a fact is absent.

websiteKnowledge_search input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "resourceIds",
    "queries"
  ],
  "properties": {
    "queries": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[^\\r\\n]+$",
        "maxLength": 500,
        "minLength": 1
      },
      "maxItems": 8,
      "minItems": 1,
      "description": "Independent case-insensitive literal terms matched within a line, not questions or regular expressions."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "resourceIds": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 25,
      "minItems": 1,
      "description": "Selected text resource ids from the project context index, in relevance order."
    },
    "contextLines": {
      "type": "integer",
      "default": 2,
      "maximum": 5,
      "minimum": 0
    },
    "maxCharacters": {
      "type": "integer",
      "default": 8000,
      "maximum": 16000,
      "minimum": 4000,
      "description": "Shared passage character budget across all documents and queries."
    }
  }
}
websiteKnowledge_search annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteKnowledge_view — View project context image
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns one private PNG, JPEG, or WebP context resource.

websiteKnowledge_view input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "resourceId"
  ],
  "properties": {
    "resourceId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteKnowledge_view annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteFavicons_set — Set or clear the website favicon
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Sets the website’s current favicon to a ready PNG, SVG, or ICO image from the same website asset library. Send `assetId: null` to clear it. The change applies immediately to every site host and is independent of source drafts and publishing. Read the current favicon from the `faviconUrl` field on `GET /websites` and `GET /websites/find`.

websiteFavicons_set input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "assetId"
  ],
  "properties": {
    "assetId": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteFavicons_set annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}
websiteShareLinks_list — List the website’s share links
Advertised by the server during the last successful anonymous check.
Advertised read-only

Lists the website’s share links: paths such as `/menu.pdf` that open one of its images or files. Give people each `url`, not the file’s CDN delivery URL.

websiteShareLinks_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteShareLinks_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteShareLinks_set — Set a share link
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Points a path on the website, such as `/menu.pdf`, at a ready image or file in its asset library. A file has one link: a new path moves it, and setting a linked path to another file moves that path (how a replaced file keeps its link). Paths used by pages, config redirects, or the site server are refused; at most 100 per website. Applies at once on every site host, without publishing, as a 302 to the file’s current delivery URL.

websiteShareLinks_set input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "path",
    "assetId"
  ],
  "properties": {
    "path": {
      "type": "string",
      "pattern": "^(?:\\/[a-z0-9._~-]+)+$",
      "maxLength": 200,
      "description": "Path on the website that opens the file, such as `/menu.pdf`. Lowercase and starts with `/`."
    },
    "assetId": {
      "type": "string",
      "minLength": 1,
      "description": "Id of a ready image or file in this website’s asset library."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteShareLinks_set annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}
websiteShareLinks_remove — Remove a share link
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Removes the file’s share link, if it has one. The path stops opening the file immediately on every site host.

websiteShareLinks_remove input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "assetId"
  ],
  "properties": {
    "assetId": {
      "type": "string",
      "minLength": 1,
      "description": "Id of the file whose link to remove."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteShareLinks_remove annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}
websiteSourceCode_summary_get — Get source version summary
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns `headVersion`, `publishedVersion`, and whether the website has unpublished source changes.

websiteSourceCode_summary_get input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteSourceCode_summary_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteSourceCode_files_list — List source files
Advertised by the server during the last successful anonymous check.
Advertised read-only

Lists file identities, sizes, and line counts without contents, sorted by type then name with cursor pagination (default 20, maximum 100). Filter by name with `nameGlob`. Defaults to head; pass `target=published` or an explicit `version`, and pin continuation requests to the resolved response version.

websiteSourceCode_files_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum files to return. Defaults to 20 and cannot exceed 100."
    },
    "cursor": {
      "type": "string",
      "description": "Opaque cursor from the previous page. Continue with the returned resolved version to keep the listing pinned."
    },
    "target": {
      "enum": [
        "head",
        "published"
      ],
      "type": "string",
      "description": "Version alias to read: `head` (default) or `published`."
    },
    "version": {
      "type": "integer",
      "maximum": 9007199254740991,
      "description": "Explicit source version. Takes precedence over `target`.",
      "exclusiveMinimum": 0
    },
    "nameGlob": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "description": "Only list files whose name matches this glob. `*` and `?` stop at a `/` segment boundary; `**` crosses them, for example `blog/**`."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteSourceCode_files_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteSourceCode_files_read — Read source files
Advertised by the server during the last successful anonymous check.
Advertised read-only

Reads up to 50 files by name from head, published, or an explicit version. A single-file read supports line and character ranges; continue truncated reads with `nextStartCharacter` and the resolved `version`.

websiteSourceCode_files_read input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "names"
  ],
  "properties": {
    "names": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "maxItems": 50,
      "minItems": 1,
      "description": "File names to read (up to 50). Singleton files are addressed by their type name, for example `global_css`."
    },
    "target": {
      "enum": [
        "head",
        "published"
      ],
      "type": "string",
      "description": "Version alias to read: `head` (default) or `published`."
    },
    "endLine": {
      "type": "integer",
      "maximum": 9007199254740991,
      "description": "Last line to return (1-based, inclusive). Only valid when reading a single file.",
      "exclusiveMinimum": 0
    },
    "version": {
      "type": "integer",
      "maximum": 9007199254740991,
      "description": "Explicit source version. Takes precedence over `target`.",
      "exclusiveMinimum": 0
    },
    "startLine": {
      "type": "integer",
      "maximum": 9007199254740991,
      "description": "First line to return (1-based, inclusive). Only valid when reading a single file.",
      "exclusiveMinimum": 0
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "endCharacter": {
      "type": "integer",
      "maximum": 9007199254740991,
      "description": "Last character to return from the selected line range (1-based, inclusive). Only valid when reading a single file.",
      "exclusiveMinimum": 0
    },
    "startCharacter": {
      "type": "integer",
      "maximum": 9007199254740991,
      "description": "First character to return from the selected line range (1-based, inclusive). Only valid when reading a single file.",
      "exclusiveMinimum": 0
    }
  }
}
websiteSourceCode_files_read annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteSourceCode_files_search — Search source files
Advertised by the server during the last successful anonymous check.
Advertised read-only

Finds text across every source file and returns one entry per matching line with its file name, line, and column. Call this first to locate code, then read only the files it names with websiteSourceCode.files.read. `pattern` is literal text unless `isRegex` is set, and matching is line by line, so a pattern cannot span a newline. Narrow with `nameGlob` and `type`, ask for surrounding lines with `contextLines`, or set `filesOnly` for the cheapest orientation. Results are cursor-paginated over matches.

websiteSourceCode_files_search input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "pattern"
  ],
  "properties": {
    "type": {
      "enum": [
        "page",
        "component",
        "module",
        "server_function",
        "global_css",
        "not_found",
        "website_config",
        "custom_head_start",
        "custom_head_end",
        "custom_body_start",
        "custom_body_end"
      ],
      "type": "string",
      "description": "Only search files of this type."
    },
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum matches to return per page. Defaults to 20, maximum 100."
    },
    "cursor": {
      "type": "string",
      "description": "Opaque cursor from the previous page. Pass the returned `version` too to keep the search pinned."
    },
    "target": {
      "enum": [
        "head",
        "published"
      ],
      "type": "string",
      "description": "Version alias to read: `head` (default) or `published`."
    },
    "isRegex": {
      "type": "boolean",
      "description": "Read `pattern` as a regular expression. JavaScript syntax works, including `\\b`, `\\d`, lookahead, and lazy quantifiers; named capture groups are not supported."
    },
    "pattern": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1,
      "description": "Text to find. Literal unless `isRegex` is set. Matched line by line, so `^` and `$` anchor to line boundaries and a pattern cannot span a newline."
    },
    "version": {
      "type": "integer",
      "maximum": 9007199254740991,
      "description": "Explicit source version. Takes precedence over `target`.",
      "exclusiveMinimum": 0
    },
    "nameGlob": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "description": "Only search names matching this glob. `*` and `?` stop at a `/`; `**` crosses them, for example `blog/**`."
    },
    "filesOnly": {
      "type": "boolean",
      "description": "Return one entry per matching file, with no line detail."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "contextLines": {
      "type": "integer",
      "maximum": 3,
      "minimum": 0,
      "description": "Surrounding lines to return on each side of a match (0 to 3). Defaults to 0."
    },
    "caseSensitive": {
      "type": "boolean",
      "description": "Match case exactly. Defaults to `true`."
    },
    "maxMatchesPerFile": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum matches from any one file (up to 50). Defaults to 10."
    }
  }
}
websiteSourceCode_files_search annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteSourceCode_changes_list — List changed source files
Advertised by the server during the last successful anonymous check.
Advertised read-only

Lists added, removed, and modified file identities between two version refs, defaulting from published to head. Results use cursor pagination; pin continuation requests to the resolved version numbers.

websiteSourceCode_changes_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "to": {
      "type": "string",
      "pattern": "^(head|published|[1-9][0-9]*)$",
      "description": "Target side of the diff: a version number, `head`, or `published`. Defaults to `head`."
    },
    "from": {
      "type": "string",
      "pattern": "^(head|published|[1-9][0-9]*)$",
      "description": "Base side of the diff: a version number, `head`, or `published`. Defaults to `published`."
    },
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 20,
      "minimum": 1,
      "description": "Maximum candidate files to compare. Defaults to 20 and cannot exceed 20."
    },
    "cursor": {
      "type": "string",
      "description": "Opaque cursor from the previous page. Continue with the returned resolved versions to keep the comparison pinned."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteSourceCode_changes_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteSourceCode_files_diff — Diff one source file
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns a bounded unified diff for one file name between two version refs, defaulting from published to head.

websiteSourceCode_files_diff input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "name"
  ],
  "properties": {
    "to": {
      "type": "string",
      "pattern": "^(head|published|[1-9][0-9]*)$",
      "description": "Target side of the diff: a version number, `head`, or `published`. Defaults to `head`."
    },
    "from": {
      "type": "string",
      "pattern": "^(head|published|[1-9][0-9]*)$",
      "description": "Base side of the diff: a version number, `head`, or `published`. Defaults to `published`."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "File name to compare."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteSourceCode_files_diff annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteSourceCode_lease_acquire — Acquire the edit lease
Advertised by the server during the last successful anonymous check.

Acquires and replaces the website's single edit lease, taking over from any other editor. Writes that pass the returned principal-bound `leaseToken` keep working until someone else takes the lease; writes without a token take the lease automatically unless another editor is still working: the Cactal agent while it runs, or another caller that wrote in the last 5 minutes.

websiteSourceCode_lease_acquire input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteSourceCode_lease_acquire annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteSourceCode_files_upsert — Create or update a source file
Advertised by the server during the last successful anonymous check.

Creates or replaces one head file. Pages, components, and modules require `name`; singleton types take only `type`. Takes the edit lease when no `leaseToken` is sent and returns `changed: false` for identical content.

websiteSourceCode_files_upsert input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "file",
    "content"
  ],
  "properties": {
    "file": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "type",
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "maxLength": 255,
              "minLength": 1
            },
            "type": {
              "type": "string",
              "const": "page"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "type",
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "maxLength": 255,
              "minLength": 1
            },
            "type": {
              "type": "string",
              "const": "component"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "type",
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "maxLength": 255,
              "minLength": 1
            },
            "type": {
              "type": "string",
              "const": "module"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "type",
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
            },
            "type": {
              "type": "string",
              "const": "server_function"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "enum": [
                "global_css",
                "not_found",
                "website_config",
                "custom_head_start",
                "custom_head_end",
                "custom_body_start",
                "custom_body_end"
              ],
              "type": "string"
            }
          }
        }
      ]
    },
    "content": {
      "type": "string"
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "leaseToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to have Cactal take the edit lease for you; pass a token from websiteSourceCode.lease.acquire to take over from another editor."
    }
  }
}
websiteSourceCode_files_upsert annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteSourceCode_files_strReplace — Edit source files with string replacement
Advertised by the server during the last successful anonymous check.

Atomically applies ordered exact-string edits to up to 50 files and 200 edits in total as one head version. Each `oldStr` must match once unless `replaceAll` is true, and any failing edit aborts the whole call. Set `dryRun` to validate and count replacements without committing. Takes the edit lease when no `leaseToken` is sent.

websiteSourceCode_files_strReplace input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "files"
  ],
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "edits"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "Name of the file to edit. Singleton files are addressed by their type name, for example `global_css`."
          },
          "edits": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "oldStr",
                "newStr"
              ],
              "properties": {
                "newStr": {
                  "type": "string",
                  "description": "Replacement text."
                },
                "oldStr": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Exact text to find. Must match exactly once unless `replaceAll` is `true`."
                },
                "replaceAll": {
                  "type": "boolean",
                  "description": "Replace every occurrence instead of requiring a unique match."
                }
              }
            },
            "minItems": 1,
            "description": "Edits applied in order against the evolving content of this file."
          }
        }
      },
      "maxItems": 50,
      "minItems": 1,
      "description": "Files to edit (up to 50, and 200 edits in total). Every edit across every file commits as one version, or none of them do."
    },
    "dryRun": {
      "type": "boolean",
      "description": "Validate every edit and report the replacement counts without committing."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "leaseToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to have Cactal take the edit lease for you; pass a token from websiteSourceCode.lease.acquire to take over from another editor."
    }
  }
}
websiteSourceCode_files_strReplace annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteSourceCode_files_delete — Delete a source file
Advertised by the server during the last successful anonymous check.
Advertised destructive

Deletes one head file while preserving history. Address named files by `type` and `name`, and singletons by `type`; takes the edit lease when no `leaseToken` is sent.

websiteSourceCode_files_delete input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "file"
  ],
  "properties": {
    "file": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "type",
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "maxLength": 255,
              "minLength": 1
            },
            "type": {
              "type": "string",
              "const": "page"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "type",
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "maxLength": 255,
              "minLength": 1
            },
            "type": {
              "type": "string",
              "const": "component"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "type",
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "maxLength": 255,
              "minLength": 1
            },
            "type": {
              "type": "string",
              "const": "module"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "type",
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
            },
            "type": {
              "type": "string",
              "const": "server_function"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "enum": [
                "global_css",
                "not_found",
                "website_config",
                "custom_head_start",
                "custom_head_end",
                "custom_body_start",
                "custom_body_end"
              ],
              "type": "string"
            }
          }
        }
      ]
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "leaseToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to have Cactal take the edit lease for you; pass a token from websiteSourceCode.lease.acquire to take over from another editor."
    }
  }
}
websiteSourceCode_files_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
websiteSourceCode_pages_editRoute — Edit a page route
Advertised by the server during the last successful anonymous check.

Rewrites and normalizes a page's `definePage` route literal. Takes the edit lease when no `leaseToken` is sent.

websiteSourceCode_pages_editRoute input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "name",
    "route"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1
    },
    "route": {
      "type": "string"
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "leaseToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to have Cactal take the edit lease for you; pass a token from websiteSourceCode.lease.acquire to take over from another editor."
    }
  }
}
websiteSourceCode_pages_editRoute annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteSourceCode_metadata_edit — Edit page or site metadata
Advertised by the server during the last successful anonymous check.

Replaces a page's complete metadata object when `page` is sent, otherwise the site defaults in `website_config`. Takes the edit lease when no `leaseToken` is sent.

websiteSourceCode_metadata_edit input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "metadata"
  ],
  "properties": {
    "page": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "description": "Page to edit. Omit to edit the site-wide default metadata in `website_config`."
    },
    "metadata": {},
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "leaseToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to have Cactal take the edit lease for you; pass a token from websiteSourceCode.lease.acquire to take over from another editor."
    }
  }
}
websiteSourceCode_metadata_edit annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteSourceCode_head_check — Validate the head source
Advertised by the server during the last successful anonymous check.
Advertised read-only

Runs the publish-time framework quality gate without changing source: format, typecheck, lint, build, and a server-render of every page using placeholder content synthesized from the CMS schema. Failures return `ok: false` with diagnostics, and pages that compiled but threw while rendering in `renderFailures`. No lease is required and no CMS content is read, so the outcome depends only on source and schema.

websiteSourceCode_head_check input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteSourceCode_head_check annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteSourceCode_deployment_status — Get deployment build status
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns the preview revision, available page routes, publish availability, and build state for the selected head or published source version. Fails with 404 when `target=published` is requested for a never-published website.

websiteSourceCode_deployment_status input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "target"
  ],
  "properties": {
    "target": {
      "enum": [
        "head",
        "published"
      ],
      "type": "string"
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteSourceCode_deployment_status annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteSourceCode_deployment_ensure — Ensure a deployment build
Advertised by the server during the last successful anonymous check.

Returns an existing non-failed deployment for the selected version or builds one. Poll status when another request is already building it.

websiteSourceCode_deployment_ensure input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "target"
  ],
  "properties": {
    "target": {
      "enum": [
        "head",
        "published"
      ],
      "type": "string"
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteSourceCode_deployment_ensure annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
websiteSourceCode_head_publish — Publish the head version
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Validates, builds, and publishes head. Canonical formatting may create a new head first. Pass the `version` the check returned to refuse publishing a draft that changed since. Takes the edit lease when no `leaseToken` is sent.

websiteSourceCode_head_publish input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "version": {
      "type": "integer",
      "maximum": 9007199254740991,
      "description": "Version returned by websiteSourceCode.head.check. Publishing refuses when the draft changed after that check.",
      "exclusiveMinimum": 0
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "leaseToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to have Cactal take the edit lease for you; pass a token from websiteSourceCode.lease.acquire to take over from another editor."
    }
  }
}
websiteSourceCode_head_publish annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
websiteSourceCode_head_restore — Restore head to a previous state
Advertised by the server during the last successful anonymous check.
Advertised destructive

Copies an earlier version or `published` into a new head without publishing or rewriting history. Takes the edit lease when no `leaseToken` is sent.

websiteSourceCode_head_restore input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "to"
  ],
  "properties": {
    "to": {
      "type": "string",
      "pattern": "^(published|[1-9][0-9]*)$",
      "description": "State to restore to head: a source version number or `published`."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "leaseToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to have Cactal take the edit lease for you; pass a token from websiteSourceCode.lease.acquire to take over from another editor."
    }
  }
}
websiteSourceCode_head_restore annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
websiteSourceCode_published_unpublish — Unpublish the website
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Takes the website offline without changing its draft source or version history. The unchanged head can be published again later. No edit lease is required.

websiteSourceCode_published_unpublish input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteSourceCode_published_unpublish annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
websiteSourceCode_published_rollback — Roll back to a previous version
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Validates and republishes an earlier version as a new head and published version, preserving history. Takes the edit lease when no `leaseToken` is sent.

websiteSourceCode_published_rollback input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "version"
  ],
  "properties": {
    "version": {
      "type": "integer",
      "maximum": 9007199254740991,
      "exclusiveMinimum": 0
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "leaseToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to have Cactal take the edit lease for you; pass a token from websiteSourceCode.lease.acquire to take over from another editor."
    }
  }
}
websiteSourceCode_published_rollback annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
websitePreview_capture — Capture a page screenshot
Advertised by the server during the last successful anonymous check.
Advertised read-only

Renders one page of the site in a real browser and returns the image, so you can check layout, spacing, and responsive behaviour that source-level checks cannot see. `path` is site-relative and may include a query string, so dynamic routes are captured with real values rather than placeholders. Focus the capture with `selector` (plus optional `padding` for surrounding context) or a `clip` rectangle in CSS pixels from the top-left of the page; the region is scrolled into view and captured within the configured viewport, so it must fit inside it, and these options exclude each other and `fullPage`. Fonts, images, and (for `fullPage`) lazy content are awaited before the capture, and CSS animations are fast-forwarded to their end state by default. Fails with 409 when the draft build is still in progress or has failed; poll `websiteSourceCode.deployment.status` and retry.

websitePreview_capture input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "clip": {
      "type": "object",
      "required": [
        "x",
        "y",
        "width",
        "height"
      ],
      "properties": {
        "x": {
          "type": "number",
          "maximum": 100000,
          "minimum": 0
        },
        "y": {
          "type": "number",
          "maximum": 100000,
          "minimum": 0
        },
        "width": {
          "type": "number",
          "maximum": 2000,
          "minimum": 1
        },
        "height": {
          "type": "number",
          "maximum": 2000,
          "minimum": 1
        }
      },
      "description": "Crop to this rectangle, in CSS pixels from the top-left of the rendered page at the chosen viewport; it is scrolled into view and must fit within the viewport. Only for regions no selector frames."
    },
    "path": {
      "type": "string",
      "default": "/",
      "pattern": "^\\/([^/\\\\\\s][^\\\\\\s]*)?$",
      "maxLength": 2048,
      "description": "Site-relative path to render, including any query string, e.g. `/blog/my-post`."
    },
    "target": {
      "enum": [
        "head",
        "published"
      ],
      "type": "string",
      "default": "head",
      "description": "`head` renders the current draft; `published` renders the live site."
    },
    "delayMs": {
      "type": "integer",
      "maximum": 5000,
      "minimum": 0,
      "description": "Extra settle time before capturing, in milliseconds."
    },
    "padding": {
      "type": "integer",
      "maximum": 500,
      "minimum": 0,
      "description": "CSS pixels of surrounding page to include on every side of the `selector` match."
    },
    "fullPage": {
      "type": "boolean",
      "default": false,
      "description": "Capture the whole scrollable page instead of just the viewport. Excludes `selector` and `clip`."
    },
    "scrollTo": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        }
      ],
      "description": "Scroll to a CSS selector or an absolute Y offset before capturing."
    },
    "selector": {
      "type": "string",
      "minLength": 1,
      "description": "Crop to the first element matching this CSS selector, scrolled into view. Preferred: it follows the layout at every viewport."
    },
    "viewport": {
      "enum": [
        "desktop",
        "tablet",
        "mobile"
      ],
      "type": "string",
      "default": "desktop",
      "description": "Device class to render at."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "colorScheme": {
      "enum": [
        "dark",
        "light"
      ],
      "type": "string",
      "description": "Browser color preference to emulate. Omit it to use the renderer default."
    },
    "waitForSelector": {
      "type": "string",
      "minLength": 1,
      "description": "Wait for this CSS selector to match before capturing."
    },
    "freezeAnimations": {
      "type": "boolean",
      "default": true,
      "description": "Fast-forward CSS animations and transitions to their end state so captures are deterministic."
    }
  }
}
websitePreview_capture annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cms_schema_snapshot — Get the CMS schema snapshot
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns every active collection and field of a website in one call — the full content model. Collections are ordered newest first; fields are grouped by collection in display order. Use this to discover the schema before reading or writing items.

cms_schema_snapshot input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
cms_schema_snapshot annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cms_collections_create — Create a collection
Advertised by the server during the last successful anonymous check.

Creates a collection in the website’s CMS. `slug` uses lowercase letters, digits, and hyphens (max 64 characters, starting with a letter) and must be unique among the website’s active collections; `displayName` is 1–200 characters and `description` up to 2,000. Optionally pass `fields` (up to 100, same shape as the create-field body) to define the schema in the same call. A website can hold at most 100 active collections; the limit is enforced with a conflict error.

cms_collections_create input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "slug",
    "displayName"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9-]{0,63}$"
    },
    "fields": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "key",
          "displayName",
          "type"
        ],
        "properties": {
          "key": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]{0,63}$"
          },
          "type": {
            "enum": [
              "plain_text",
              "markdown",
              "number",
              "boolean",
              "date",
              "link",
              "email",
              "color",
              "option",
              "reference",
              "multi_reference",
              "image",
              "gallery",
              "file"
            ],
            "type": "string"
          },
          "config": {
            "type": "object",
            "required": [
              "choices"
            ],
            "properties": {
              "choices": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "label"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 100,
                      "minLength": 1
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 200,
                      "minLength": 1
                    }
                  }
                },
                "maxItems": 1000,
                "minItems": 1
              },
              "multiple": {
                "type": "boolean"
              }
            }
          },
          "example": {},
          "isUnique": {
            "type": "boolean"
          },
          "required": {
            "type": "boolean"
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 2000
              },
              {
                "type": "null"
              }
            ]
          },
          "displayName": {
            "type": "string",
            "maxLength": 200,
            "minLength": 1
          },
          "targetCollectionId": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "maxItems": 100
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ]
    },
    "displayName": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    }
  }
}
cms_collections_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
cms_collections_update — Update a collection
Advertised by the server during the last successful anonymous check.
Advertised destructive

Updates `displayName` (1–200 characters), `description` (up to 2,000 characters; pass `null` to clear), and/or `slug` (a rename). A slug change fails with a conflict when another active collection in the website already uses it, and when the website has a published version the rename is validated against the published site’s content queries and rejected when it would break them.

cms_collections_update input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "collectionId"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9-]{0,63}$",
      "description": "New slug for the collection — a rename. Omit to keep the current slug. Must be unique among the website’s active collections; when the website has a published version the rename is validated against the published site’s content queries."
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ]
    },
    "displayName": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    },
    "collectionId": {
      "type": "string",
      "minLength": 1
    }
  }
}
cms_collections_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
cms_collections_delete — Delete a collection
Advertised by the server during the last successful anonymous check.
Advertised destructive

Soft-deletes the collection, making it and all of its items unreachable through the API; the slug becomes reusable. Refused with a conflict while any reference field in another collection targets this collection — delete those fields first. If the website has a published version, the deletion is validated against the published site’s content queries and rejected when the site still depends on the collection.

cms_collections_delete input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "collectionId"
  ],
  "properties": {
    "collectionId": {
      "type": "string",
      "minLength": 1
    }
  }
}
cms_collections_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
cms_fields_create — Add a field to a collection
Advertised by the server during the last successful anonymous check.

Adds a typed field at the end of the collection’s field order. `key` is lowercase snake_case (max 64 characters), must be unique in the collection, and cannot use the reserved metadata names `id`, `slug`, `publishedAt`, `publishAt`, `createdAt`, `updatedAt`, or `position`; `type` is immutable after creation. `reference` and `multi_reference` fields require a `targetCollectionId` in the same website, and `option` fields require `config.choices` (1–1,000 choices). A collection can hold at most 100 fields, and `required: true` is rejected while the collection has active items — add the field as optional, backfill every item, then mark it required.

cms_fields_create input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "key",
    "displayName",
    "type",
    "collectionId"
  ],
  "properties": {
    "key": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]{0,63}$"
    },
    "type": {
      "enum": [
        "plain_text",
        "markdown",
        "number",
        "boolean",
        "date",
        "link",
        "email",
        "color",
        "option",
        "reference",
        "multi_reference",
        "image",
        "gallery",
        "file"
      ],
      "type": "string"
    },
    "config": {
      "type": "object",
      "required": [
        "choices"
      ],
      "properties": {
        "choices": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              "label": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "maxItems": 1000,
          "minItems": 1
        },
        "multiple": {
          "type": "boolean"
        }
      }
    },
    "example": {},
    "isUnique": {
      "type": "boolean"
    },
    "required": {
      "type": "boolean"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ]
    },
    "displayName": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    },
    "collectionId": {
      "type": "string",
      "minLength": 1
    },
    "targetCollectionId": {
      "type": "string",
      "minLength": 1
    }
  }
}
cms_fields_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
cms_fields_update — Update a field
Advertised by the server during the last successful anonymous check.
Advertised destructive

Updates `displayName`, `description`, `required`, `isUnique`, `example`, and (for `option` fields only) `config`; `type` and `targetCollectionId` are immutable. Setting `required: true` is rejected until every active item has a valid value for the field. Setting `isUnique: true` enforces uniqueness on all future writes and fails with a conflict when existing values already collide; unique is not supported for `plain_text`, `markdown`, `multi_reference`, `image`, `gallery`, or `file` fields. Pass `key` to rename the field’s key: the key is atomically migrated in every stored item’s `data` in the same transaction (no values are lost), a conflict is returned when the new key is already used in the collection, and when the website has a published version the rename is validated against the published site’s content queries. Pass `position: "first"` or `"last"`, or `"before"` / `"after"` together with `anchorFieldId`, to move the field within the collection’s display order.

cms_fields_update input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "fieldId"
  ],
  "properties": {
    "key": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      "description": "New key for the field — a rename. Omit to keep the current key. Atomically migrates the key in every stored item’s `data`, so no values are lost."
    },
    "config": {
      "type": "object",
      "required": [
        "choices"
      ],
      "properties": {
        "choices": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "label"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              "label": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "maxItems": 1000,
          "minItems": 1
        },
        "multiple": {
          "type": "boolean"
        }
      }
    },
    "example": {},
    "fieldId": {
      "type": "string",
      "minLength": 1
    },
    "isUnique": {
      "type": "boolean"
    },
    "position": {
      "enum": [
        "before",
        "after",
        "first",
        "last"
      ],
      "type": "string",
      "description": "Moves the field within the collection’s display order. Omit to leave the order unchanged. `\"before\"` / `\"after\"` require `anchorFieldId`."
    },
    "required": {
      "type": "boolean"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ]
    },
    "displayName": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    },
    "anchorFieldId": {
      "type": "string",
      "minLength": 1,
      "description": "Sibling field to move against when `position` is `\"before\"` or `\"after\"`."
    }
  }
}
cms_fields_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
cms_fields_delete — Delete a field
Advertised by the server during the last successful anonymous check.
Advertised destructive

Permanently deletes the field and its stored values: the key is stripped from every item’s `data`, and reference or asset attachments made through the field are removed. This cannot be undone. If the website has a published version, the deletion is validated against the published site’s content queries and rejected when the site still depends on the field.

cms_fields_delete input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "fieldId"
  ],
  "properties": {
    "fieldId": {
      "type": "string",
      "minLength": 1
    }
  }
}
cms_fields_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
cms_items_list — List items in a collection
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns the collection’s active items in manual (drag) order by default, 20 per page (max 100); paginate with `cursor` or with 1-based `page` offsets, not both. Filter with `published` (`true` / `false`) and a JSON-encoded `filter` map of `{ fieldKey: { operator: value } }` — operators `eq`, `neq`, `in`, `nin`, `gt`, `gte`, `lt`, `lte`, `contains`, `startsWith`, `endsWith`, and `exists`, plus `slug` equality on reference fields; metadata keys are `id`, `slug`, `publishedAt`, `publishAt`, `createdAt`, and `updatedAt`. Combine clauses with `filterLogic` (`and` by default, or `or`). `search` accepts a query string (1–200 characters) or JSON `{ "query", "fields" }` to restrict which text fields are searched; `sort` accepts JSON `{ "kind": "field" | "meta", "field", "direction": "asc" | "desc" }`, where sortable metadata fields are `id`, `slug`, `publishedAt`, `publishAt`, `createdAt`, `updatedAt`, and `position`. `depth` (0–3, default 0) embeds referenced items in place of their ids, one level per unit.

cms_items_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "collectionId"
  ],
  "properties": {
    "page": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 1
    },
    "sort": {
      "type": "string"
    },
    "depth": {
      "type": "integer",
      "default": 0,
      "maximum": 3,
      "minimum": 0
    },
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1
    },
    "cursor": {
      "type": "string"
    },
    "filter": {
      "type": "string"
    },
    "search": {
      "type": "string"
    },
    "published": {
      "anyOf": [
        {
          "type": "string",
          "const": "true"
        },
        {
          "type": "string",
          "const": "false"
        }
      ]
    },
    "filterLogic": {
      "enum": [
        "and",
        "or"
      ],
      "type": "string"
    },
    "collectionId": {
      "type": "string",
      "minLength": 1
    }
  }
}
cms_items_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cms_items_get — Get an item
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns one item, looked up by `itemId` or by the `collectionId` + `slug` pair (provide exactly one of the two). The `data` object is complete and schema-shaped: every currently-defined field is present and missing optional values read as `null`. `depth` (0–3, default 0) embeds referenced items in place of their ids, one level per unit; referenced items that were deleted read as `null` (single reference) or are omitted from arrays (multi-reference). Set `published` to `"true"` or `"false"` to match only a published or only a draft item (a mismatch reads as not found). List items that reference it with `cms.items.backreferences.list`.

cms_items_get input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9-]{0,255}$",
      "description": "Item slug within the collection. Pair with `collectionId`."
    },
    "depth": {
      "type": "integer",
      "default": 0,
      "maximum": 3,
      "minimum": 0
    },
    "itemId": {
      "type": "string",
      "minLength": 1,
      "description": "Item id. Provide either this or the `collectionId` + `slug` pair."
    },
    "published": {
      "anyOf": [
        {
          "type": "string",
          "const": "true"
        },
        {
          "type": "string",
          "const": "false"
        }
      ],
      "description": "Only match a published (`\"true\"`) or draft (`\"false\"`) item; a mismatch reads as not found. Omit to match either."
    },
    "collectionId": {
      "type": "string",
      "minLength": 1,
      "description": "Collection to look the item up in by slug. Pair with `slug`."
    }
  }
}
cms_items_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cms_items_backreferences_list — List item backreferences
Advertised by the server during the last successful anonymous check.
Advertised read-only

Lists active items that reference the target item through a `reference` or `multi_reference` field, newest first, with cursor pagination (default 20 per page, maximum 100). Each source item appears once even when multiple fields point to the target. `depth` (0–3, default 0) controls reference hydration in the returned source items.

cms_items_backreferences_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "itemId"
  ],
  "properties": {
    "depth": {
      "type": "integer",
      "default": 0,
      "maximum": 3,
      "minimum": 0
    },
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1
    },
    "cursor": {
      "type": "string"
    },
    "itemId": {
      "type": "string",
      "minLength": 1
    }
  }
}
cms_items_backreferences_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cms_items_create — Create an item
Advertised by the server during the last successful anonymous check.
Open-world

Creates an item at the end of the collection’s manual order. Scalar values go in `data` keyed by field key and are validated against the field types — unknown keys are rejected, required fields must be present, `plain_text` and `markdown` are capped at 1,048,576 bytes (markdown must not contain raw HTML), `date` values are ISO 8601 with timezone, and `color` values are normalized to hex. Relationship and asset values go in the side maps: `references` (`reference`: an item id; `multi_reference`: an ordered array of up to 1,000 ids), `images` (`image`: an asset id or `{ assetId, altText }`; `gallery`: an ordered array of up to 25 of those), and `files` (`file`: an asset id or `{ assetId }`). `slug` is optional — it is derived from `data.title` or `data.name` when omitted. Set a non-future `publishedAt` to create an already-published item, or a future `publishAt` to schedule it; the two fields are mutually exclusive.

cms_items_create input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "collectionId"
  ],
  "properties": {
    "data": {
      "type": "object",
      "default": {},
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9-]{0,255}$"
    },
    "files": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "anyOf": [
          {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "object",
                "required": [
                  "assetId"
                ],
                "properties": {
                  "assetId": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            ]
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "images": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "anyOf": [
          {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "object",
                "required": [
                  "assetId"
                ],
                "properties": {
                  "altText": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "assetId": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1
                },
                {
                  "type": "object",
                  "required": [
                    "assetId"
                  ],
                  "properties": {
                    "altText": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 2000
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assetId": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "additionalProperties": false
                }
              ]
            },
            "maxItems": 25
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "publishAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "description": "Future absolute timestamp for scheduled publication. Cannot be combined with `publishedAt`."
    },
    "references": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "anyOf": [
          {
            "type": "string",
            "minLength": 1
          },
          {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "maxItems": 1000
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "publishedAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "description": "Initial publication timestamp. Must not be in the future. Omit for a draft, or use `publishAt` to schedule publication."
    },
    "collectionId": {
      "type": "string",
      "minLength": 1
    }
  }
}
cms_items_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
cms_items_update — Update an item
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Patches an item; omitted fields are left untouched. Keys in `data` are merged into the existing values and validated the same way as on create, while each key provided in `references`, `images`, or `files` replaces that field’s value wholesale — pass `null` (or `[]` for multi-valued fields) to clear an optional field. `slug` renames the item’s slug; slug and unique-field collisions fail with a conflict. Pass `position: "first"` or `"last"`, or `"before"` / `"after"` together with `anchorItemId`, to move the item within the collection’s manual order — the default sort for item lists.

cms_items_update input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "itemId"
  ],
  "properties": {
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9-]{0,255}$",
      "description": "New slug for the item — a rename. Omit to keep the current slug. Must be unique among the collection’s active items."
    },
    "files": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "anyOf": [
          {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "object",
                "required": [
                  "assetId"
                ],
                "properties": {
                  "assetId": {
                    "type": "string",
                    "minLength": 1
                  }
                }
              }
            ]
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "images": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "anyOf": [
          {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "object",
                "required": [
                  "assetId"
                ],
                "properties": {
                  "altText": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "assetId": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1
                },
                {
                  "type": "object",
                  "required": [
                    "assetId"
                  ],
                  "properties": {
                    "altText": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 2000
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assetId": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "additionalProperties": false
                }
              ]
            },
            "maxItems": 25
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "itemId": {
      "type": "string",
      "minLength": 1
    },
    "position": {
      "enum": [
        "before",
        "after",
        "first",
        "last"
      ],
      "type": "string",
      "description": "Moves the item within the collection’s manual order — the default sort for item lists. Omit to leave the order unchanged. `\"before\"` / `\"after\"` require `anchorItemId`."
    },
    "references": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "anyOf": [
          {
            "type": "string",
            "minLength": 1
          },
          {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "maxItems": 1000
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "anchorItemId": {
      "type": "string",
      "minLength": 1,
      "description": "Sibling item to move against when `position` is `\"before\"` or `\"after\"`."
    }
  }
}
cms_items_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
cms_items_setPublished — Publish, schedule, or unpublish an item
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Use exactly one publication action: `published: true` publishes immediately and sets `publishedAt` to now; a future `publishAt` schedules a draft for automatic publication; `published: false` unpublishes an item or cancels its schedule. A published item must be unpublished before it can be scheduled because CMS items do not have revision snapshots. Published websites read only items with an actual `publishedAt`, so immediate and scheduled promotion become visible without a site republish. Repeating the same action is idempotent.

cms_items_setPublished input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "itemId"
  ],
  "properties": {
    "itemId": {
      "type": "string",
      "minLength": 1
    },
    "publishAt": {
      "type": "string",
      "format": "date-time",
      "description": "Future absolute timestamp for scheduling. Omit `published`; scheduled items remain hidden until the promotion job runs."
    },
    "published": {
      "type": "boolean",
      "description": "`true` publishes immediately; `false` unpublishes or cancels a schedule. Use `publishAt` instead to schedule publication."
    }
  }
}
cms_items_setPublished annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
cms_items_delete — Delete an item
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Soft-deletes the item: it disappears from reads, list results, and backreferences, and fields referencing it read `null` (single reference) or shrink (multi-reference). Its slug becomes reusable, and incoming references are preserved so the item can be restored.

cms_items_delete input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "itemId"
  ],
  "properties": {
    "itemId": {
      "type": "string",
      "minLength": 1
    }
  }
}
cms_items_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
cms_items_restore — Restore a deleted item
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Restores a soft-deleted item, making it readable again and re-exposing references to and from it. Returns 404 when the item is not currently deleted.

cms_items_restore input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "itemId"
  ],
  "properties": {
    "itemId": {
      "type": "string",
      "minLength": 1
    }
  }
}
cms_items_restore annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
websiteAnalytics_query_get — Query analytics totals and breakdowns
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns aggregate engagement totals — page views, distinct visitors, visits, bounces, and total time in seconds — for a date range, optionally broken down by one dimension. Use it to answer "how much traffic did the site get" and "what are the top pages/referrers/countries" style questions; use the timeseries endpoint when you need values over time instead. `startAt` and `endAt` are Unix epoch milliseconds; optional filter parameters (path, referrer, country, event, UTM fields, ...) narrow the data. Without `dimension` the response carries the totals alone. With `dimension` (e.g. `path` for top pages, `referrer` for top referrers, `country` for top countries) the response also carries `rows`: up to `limit` (default 25, max 1000) values of that dimension ranked by page views, each with its own engagement totals. Requires a plan that includes analytics (403 otherwise); all-zero totals until the website is published and has traffic.

websiteAnalytics_query_get input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "startAt",
    "endAt"
  ],
  "properties": {
    "os": {
      "type": "string"
    },
    "tag": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "path": {
      "type": "string"
    },
    "endAt": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
    },
    "event": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "default": 25,
      "maximum": 1000,
      "minimum": 1,
      "description": "Maximum number of dimension rows to return (default 25, max 1000). Only used when `dimension` is set."
    },
    "query": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "cohort": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "device": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "browser": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "segment": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "startAt": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
    },
    "utmTerm": {
      "type": "string"
    },
    "hostname": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "referrer": {
      "type": "string"
    },
    "dimension": {
      "enum": [
        "path",
        "entry",
        "exit",
        "title",
        "query",
        "referrer",
        "channel",
        "domain",
        "country",
        "region",
        "city",
        "browser",
        "os",
        "device",
        "language",
        "screen",
        "event",
        "hostname",
        "tag",
        "distinctId"
      ],
      "type": "string",
      "description": "Break the range down by this dimension, e.g. `path` for top pages, `referrer` for top referrers, `country` for top countries. Omit for totals only."
    },
    "utmMedium": {
      "type": "string"
    },
    "utmSource": {
      "type": "string"
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "distinctId": {
      "type": "string"
    },
    "utmContent": {
      "type": "string"
    },
    "utmCampaign": {
      "type": "string"
    }
  }
}
websiteAnalytics_query_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteAnalytics_timeseries_get — Get an analytics time series
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns one traffic time series bucketed by `unit` (`year`, `month`, `day`, `hour`, or `minute`). `series` selects which: `pageviews` returns parallel `pageviews` and `sessions` arrays with one point per time bucket (and accepts `compare` — `prev` or `yoy` — to request comparison data for the previous period or year), while `events` returns tracked custom-event counts as one `events` point per event name per time bucket. Only the requested series' fields are present in the response. `startAt` and `endAt` are Unix epoch milliseconds; `timezone` is an IANA name (e.g. `America/New_York`) that controls bucket boundaries; optional filter parameters narrow the data. The series is capped to the most recent `maxPoints` time buckets (default 30, max 500); a `truncated` field reports when the cap was applied. Requires a plan that includes analytics (403 otherwise); empty until the website is published and has traffic.

websiteAnalytics_timeseries_get input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "startAt",
    "endAt",
    "unit",
    "series"
  ],
  "properties": {
    "os": {
      "type": "string"
    },
    "tag": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "path": {
      "type": "string"
    },
    "unit": {
      "enum": [
        "year",
        "month",
        "day",
        "hour",
        "minute"
      ],
      "type": "string"
    },
    "endAt": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
    },
    "event": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "cohort": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "device": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "series": {
      "enum": [
        "pageviews",
        "events"
      ],
      "type": "string",
      "description": "Which time series to return: `pageviews` for page views and sessions per bucket, `events` for tracked custom-event counts per event name per bucket."
    },
    "browser": {
      "type": "string"
    },
    "compare": {
      "enum": [
        "prev",
        "yoy"
      ],
      "type": "string",
      "description": "Request comparison data alongside the primary series: `prev` for the previous period, `yoy` for the same range one year earlier. Only valid when `series` is `pageviews`."
    },
    "country": {
      "type": "string"
    },
    "segment": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "startAt": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0
    },
    "utmTerm": {
      "type": "string"
    },
    "hostname": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "referrer": {
      "type": "string"
    },
    "timezone": {
      "type": "string",
      "minLength": 1
    },
    "maxPoints": {
      "type": "integer",
      "default": 30,
      "maximum": 500,
      "minimum": 1
    },
    "utmMedium": {
      "type": "string"
    },
    "utmSource": {
      "type": "string"
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "distinctId": {
      "type": "string"
    },
    "utmContent": {
      "type": "string"
    },
    "utmCampaign": {
      "type": "string"
    }
  }
}
websiteAnalytics_timeseries_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteAnalytics_realtime_get — Get a realtime traffic snapshot
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns a compact snapshot of traffic over Umami's trailing 30-minute realtime window: total page views, distinct visitors, tracked custom events, and distinct countries, plus the snapshot timestamp. The visitor total is not directly comparable to the removed `active` endpoint's five-minute count. Use it to see recent activity; use the query endpoint for historical ranges. Requires a plan that includes analytics (403 otherwise); all-zero totals until the website is published and has traffic.

websiteAnalytics_realtime_get input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteAnalytics_realtime_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteForms_list — List forms
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns every form with inbox and spam counts, whether the published site still references it, who it notifies, the number of inbox submissions since the caller last opened the Forms tab, and monthly usage against the Free plan limit (`limit` is null on paid plans). Forms come from `<form method="post" action="/_cactal/forms/<name>">` in the website source and appear here as soon as the draft or published build contains them, before any submission.

websiteForms_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteForms_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteForms_submissions_list — List form submissions
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns submissions newest first as a cursor-paginated page. Filter by `form` name, `status` (`inbox` by default, or `spam`), and `source` (`published` for real visitors, `draft` for test submissions from the draft preview). Items carry the fields in submitted order, the inferred submitter email and name, page, spam signals, classifier verdict, and notification state. Submission data is personal information: never render it on the public website.

websiteForms_submissions_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "form": {
      "type": "string",
      "description": "Only submissions of this form name."
    },
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1
    },
    "cursor": {
      "type": "string"
    },
    "source": {
      "enum": [
        "published",
        "draft"
      ],
      "type": "string",
      "description": "`published` for real visitors, `draft` for test submissions from the draft preview."
    },
    "status": {
      "enum": [
        "inbox",
        "spam"
      ],
      "type": "string",
      "description": "`inbox` (default) or `spam`."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteForms_submissions_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteForms_submissions_get — Get a form submission
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns one submission with its fields in submitted order.

websiteForms_submissions_get input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "submissionId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "submissionId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteForms_submissions_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteForms_submissions_setStatus — Mark a submission as spam or not spam
Advertised by the server during the last successful anonymous check.

Moves a submission between the inbox and the spam folder. Restoring to `inbox` sends the notification email if it was never sent. Spam is deleted automatically after 30 days.

websiteForms_submissions_setStatus input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "submissionId",
    "status"
  ],
  "properties": {
    "status": {
      "enum": [
        "inbox",
        "spam"
      ],
      "type": "string",
      "description": "`spam` hides the submission in the spam folder; `inbox` restores it and sends any missed notification."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "submissionId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteForms_submissions_setStatus annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteForms_submissions_delete — Delete a form submission
Advertised by the server during the last successful anonymous check.
Advertised destructive

Permanently deletes one submission.

websiteForms_submissions_delete input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "submissionId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "submissionId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteForms_submissions_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
websiteForms_recipients_add — Add a notification recipient to a form
Advertised by the server during the last successful anonymous check.
Open-world

Adds an email address to one form, identified by its name from the action path. New forms notify the organization owners until changed. Organization members and website editors receive submissions immediately; other addresses get a confirmation email (link valid 7 days). `member` and `confirmed` addresses receive email; `pending` addresses must confirm by link; `failing` addresses bounced or complained; `stopped` addresses opted out. Works before the first submission; at most 20 addresses per website.

websiteForms_recipients_add input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "formName",
    "email"
  ],
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
      "maxLength": 320,
      "description": "Address to notify."
    },
    "formName": {
      "type": "string",
      "description": "The form name from the action path."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteForms_recipients_add annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteForms_recipients_remove — Remove a notification recipient from a form
Advertised by the server during the last successful anonymous check.
Advertised destructive

Stops emailing an address for one form. A form with no recipients emails nobody; its submissions still reach the Forms inbox.

websiteForms_recipients_remove input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "formName",
    "recipientId"
  ],
  "properties": {
    "formName": {
      "type": "string"
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "recipientId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteForms_recipients_remove annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
websiteForms_recipients_resend — Resend a recipient confirmation
Advertised by the server during the last successful anonymous check.
Open-world

Issues a fresh confirmation link to a pending, failing, or stopped address.

websiteForms_recipients_resend input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "recipientId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    },
    "recipientId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteForms_recipients_resend annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
docs_search — Search the Cactal documentation
Advertised by the server during the last successful anonymous check.
Advertised read-only

Search the Cactal product documentation: concepts, guides, agent workflows, platform limits, and the API reference. Returns matching Markdown excerpts with page paths; read a full page with the docs read operation. Consult the docs before non-trivial or unfamiliar work such as source-code editing, publishing, or CMS schema changes.

docs_search input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1,
      "description": "Plain-language question or keywords, for example \"how does publishing work\"."
    }
  }
}
docs_search annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
docs_read — Read a Cactal documentation page
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read one Cactal documentation page as Markdown. Pass a page path from docs search results, for example "concepts/publishing" or "agents/agent-safe-publishing". Pass "llms.txt" for an index of every page with titles and descriptions.

docs_read input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1,
      "description": "Docs page path, for example \"concepts/publishing\". Pass \"llms.txt\" for the index of every page."
    }
  }
}
docs_read annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
skills_read — Read a Cactal agent skill
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read the matching Cactal skill before acting: source-editing-workflow before source edits, design-direction for design, copywriting for words. Required skills are included. - accessibility-audit: Check a site's accessibility and fix what fails - analytics: Traffic, visitors, referrers, and other analytics reports - assets-and-media: Find, import, or place images, video, fonts, favicons - cms-content-editing: Create, edit, publish, schedule, or delete CMS items - cms-data-in-pages: Show CMS content on pages with definePage queries - cms-item-queries: Filter, search, and sort CMS item lists - cms-modeling: Create or change CMS collections and fields - copywriting: Write or rewrite website copy - design-direction: New visual design or restyling of palette, type, and layout - forms: Forms, submissions, and notification recipients - imports-and-modules: Imports, components, and shared modules - npm-packages: Add, upgrade, or debug npm packages - page-metadata-and-seo: Page metadata, SEO, social cards, and sitemaps - pages-and-routes: Create pages, routes, URL params, and a custom 404 - publishing-and-recovery: Publish, roll back, restore, or unpublish the website - rendering-and-browser-apis: Browser-only APIs, Intl, and server render failures - server-functions: Server functions and website secrets - shaders: Build GPU effects with Paper Shaders or custom GLSL - source-editing-workflow: Read before any page, component, CSS, or config edit - source-files-and-naming: Create, delete, or name source files - styling-and-css: Global CSS, Tailwind theme, and fonts - validate-and-preview: Checks, diagnostics, screenshots, and deployments - web-research: Public web facts and studying reference sites - website-config: Redirects, response headers, and website_config - website-settings-and-domains: Rename the website or slug, hosts, custom domains, DNS

skills_read input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "skillId"
  ],
  "properties": {
    "skillId": {
      "enum": [
        "accessibility-audit",
        "analytics",
        "assets-and-media",
        "cms-content-editing",
        "cms-data-in-pages",
        "cms-item-queries",
        "cms-modeling",
        "copywriting",
        "design-direction",
        "forms",
        "imports-and-modules",
        "npm-packages",
        "page-metadata-and-seo",
        "pages-and-routes",
        "publishing-and-recovery",
        "rendering-and-browser-apis",
        "server-functions",
        "shaders",
        "source-editing-workflow",
        "source-files-and-naming",
        "styling-and-css",
        "validate-and-preview",
        "web-research",
        "website-config",
        "website-settings-and-domains"
      ],
      "type": "string",
      "description": "Skill to read; the skills it requires come with it."
    }
  }
}
skills_read annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
profile_get — Get your profile
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns who this credential acts for (a stable `id`, plus `name` and `email` for a person) and the organizations it can work in. An organization lists `websites` only when access is limited to those websites. Use an organization `id` to list or create websites.

profile_get input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {}
}
profile_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
webResearch_screenshot — Capture an external page
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Renders an external public page in a real browser and returns the image, to study a reference site or the user's existing site: its layout, hierarchy, density, and feel. Consent banners and overlays are dismissed first. Focus with `selector` (plus `padding`) or `clip` and page down with `scrollTo`; external pages render in their own color scheme and never full page. Capture your own website with `websitePreview.capture`. Charged in AI credits to the website's organization.

webResearch_screenshot input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048,
      "description": "Absolute public http(s) URL of the page to capture."
    },
    "clip": {
      "type": "object",
      "required": [
        "x",
        "y",
        "width",
        "height"
      ],
      "properties": {
        "x": {
          "type": "number",
          "maximum": 100000,
          "minimum": 0
        },
        "y": {
          "type": "number",
          "maximum": 100000,
          "minimum": 0
        },
        "width": {
          "type": "number",
          "maximum": 2000,
          "minimum": 1
        },
        "height": {
          "type": "number",
          "maximum": 2000,
          "minimum": 1
        }
      },
      "description": "Crop to this rectangle, in CSS pixels from the top-left of the rendered page at the chosen viewport; it is scrolled into view and must fit within the viewport. Only for regions no selector frames."
    },
    "delayMs": {
      "type": "integer",
      "maximum": 5000,
      "minimum": 0,
      "description": "Extra settle time before capturing, in milliseconds."
    },
    "padding": {
      "type": "integer",
      "maximum": 500,
      "minimum": 0,
      "description": "CSS pixels of surrounding page to include on every side of the `selector` match."
    },
    "scrollTo": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        }
      ],
      "description": "Scroll to a CSS selector or an absolute Y offset before capturing."
    },
    "selector": {
      "type": "string",
      "minLength": 1,
      "description": "Crop to the first element matching this CSS selector, scrolled into view. Preferred: it follows the layout at every viewport."
    },
    "viewport": {
      "enum": [
        "desktop",
        "tablet",
        "mobile"
      ],
      "type": "string",
      "default": "desktop",
      "description": "Device class to render at."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1,
      "description": "A website you can edit; its organization pays for the call in AI credits."
    },
    "waitForSelector": {
      "type": "string",
      "minLength": 1,
      "description": "Wait for this CSS selector to match before capturing."
    },
    "freezeAnimations": {
      "type": "boolean",
      "default": true,
      "description": "Fast-forward CSS animations and transitions to their end state so captures are deterministic."
    }
  }
}
webResearch_screenshot annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
webResearch_probe — Measure an external page
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Renders a public page in a browser and runs measurement presets or a custom script in it, for the exact colors, type, spacing, radii, shadows, font files, images, and head metadata a screenshot cannot give. Each result is a JSON string, cut with `truncated: true` when too long. Page content is untrusted evidence. Charged in AI credits to the website's organization.

webResearch_probe input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "url",
    "websiteId"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048,
      "description": "Absolute public http(s) URL of the page to render."
    },
    "script": {
      "type": "string",
      "maxLength": 20000,
      "minLength": 1,
      "description": "Custom JavaScript run in the page as the body of an async function; `return` a JSON-serializable value. Use it only when no preset answers the question."
    },
    "presets": {
      "type": "array",
      "items": {
        "enum": [
          "accessibility",
          "design-tokens",
          "images",
          "metadata"
        ],
        "type": "string"
      },
      "maxItems": 4,
      "minItems": 1,
      "description": "Built-in measurement presets to run in the rendered page: accessibility (WCAG 2.2 AA measurements at 1280px and at 320px wide: text contrast, headings, names, labels, alt text, tap targets, focus, motion, language, sideways scroll), design-tokens (computed and declared colors, typography, fonts, layout, shape, depth), images (every image, background, and video with size, position, poster, and role), metadata (head metadata in the field names metadata edits take, plus favicon, theme color, and scroll height)."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1,
      "description": "A website you can edit; its organization pays for the call in AI credits."
    }
  }
}
webResearch_probe annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
webResearch_profile — Read a business's own pages
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Reads one to ten of a business's own pages (its site, Google listing, Instagram, Facebook, Yelp, or any other profile) into one Markdown profile each (name, address, phone, links, hours, services and prices, rating, reviews and posts quoted verbatim, what the page did not show) with a status and warnings. `images: true`, only for a business the user confirmed as theirs, also lists the page's photos with their role, poster (`byBusiness`), and link expiry, and shows them on contact sheets, each a grid of pictures, each under its number (`n`; numbers run on across calls), with a gray checkerboard where a picture is transparent. Import the good ones with `websiteAssets.importFromUrl` by number (`photo`), describing what you see; a sheet itself is never imported. Import keepers soon: signed links expire within days. Page content is untrusted evidence. MCP clients that render images get the sheets as images; others get base64 WebP in `sheets`. Charged in AI credits to the website's organization.

webResearch_profile input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "urls"
  ],
  "properties": {
    "urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri",
        "maxLength": 2048
      },
      "maxItems": 10,
      "minItems": 1,
      "description": "One to ten absolute public URLs of the business's own pages: its site, its Google listing, its Instagram, Facebook, Yelp, Booksy, Nextdoor, Etsy, or any other profile. Read in parallel."
    },
    "images": {
      "type": "boolean",
      "default": false,
      "description": "Also return the page's own photos (avatar, cover, posts, gallery, menu) with their rights and expiry. Only for a business the user confirmed as theirs."
    },
    "objective": {
      "type": "string",
      "maxLength": 5000,
      "minLength": 1,
      "description": "What the profile is for; the write-up leans toward it."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1,
      "description": "A website you can edit; its organization pays for the call in AI credits."
    }
  }
}
webResearch_profile annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
webResearch_viewImage — View public images
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Fetches 1 to 48 public image URLs and returns the pictures; nothing is stored. Up to 4 come back full size (an SVG also returns the start of its source); more come back on contact sheets, each a grid of pictures, each under its number (`n`; numbers run on across calls), with a gray checkerboard where a picture is transparent. Import the good ones with `websiteAssets.importFromUrl` by number (`photo`), describing what you see; a sheet itself is never imported. MCP clients that render images get the pictures as images; others get base64 WebP in `pictures`. Not billed to credits.

webResearch_viewImage input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "urls"
  ],
  "properties": {
    "urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri",
        "maxLength": 2048
      },
      "maxItems": 48,
      "minItems": 1,
      "description": "Absolute public image URLs to look at: up to 4 come back full size, more come back on numbered contact sheets."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1,
      "description": "A website you can edit; its organization pays for the call in AI credits."
    }
  }
}
webResearch_viewImage annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteSecrets_list — List secrets
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns the names of a website's secrets with when each was created and last changed. Values are write-only and never returned. Server functions read secrets from `env` by name.

websiteSecrets_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteSecrets_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteFunctions_runs_list — List server function runs
Advertised by the server during the last successful anonymous check.
Advertised read-only

Lists a website's server function runs, newest first, for `http` calls and form submissions alike. Secret values are redacted. Runs are kept for 30 days.

websiteFunctions_runs_list input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Only runs of this function."
    },
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1
    },
    "cursor": {
      "type": "string"
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteFunctions_runs_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteFunctions_runs_get — Get a server function run
Advertised by the server during the last successful anonymous check.
Advertised read-only

Returns one run with its input, output, console output and outgoing requests. Secret values, in plain and common encoded forms, are redacted.

websiteFunctions_runs_get input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "runId"
  ],
  "properties": {
    "runId": {
      "type": "string",
      "minLength": 1
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteFunctions_runs_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
websiteFunctions_invoke — Run a server function on the draft
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Runs one of the draft site's `http` server functions with the website's secrets and returns its result, exactly as page code on the draft would receive it. It makes the function's real outgoing requests. Counts toward the plan's monthly calls.

websiteFunctions_invoke input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "websiteId",
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "An `http` server function."
    },
    "payload": {
      "description": "The handler's first argument, as JSON."
    },
    "websiteId": {
      "type": "string",
      "minLength": 1
    }
  }
}
websiteFunctions_invoke annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

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

100% (72 of 72 checks answered)

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

30-day availability

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

Successful checks
2 of 2 (100%)
Average latency
999 ms
95th percentile latency
1194 ms

Maintenance history

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

  • · probe · passed · 1216 ms · metadata changed · 87 tool(s); protected-resource metadata advertises OAuth
  • · probe · passed · 782 ms · metadata changed · 84 tool(s); protected-resource metadata advertises OAuth
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

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

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

Claude Code

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

Codex

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

Cursor

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

Cline

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

VS Code

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

Gemini CLI

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

Claude Desktop

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

Windsurf

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

Let your agent find its tools

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

Do you run Cactal MCP?

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

Claim this listing