You're viewing a demo portfolio

Join the waitlist
PRSM

update_site_html

Active

Tool of WebZum - The Hosting Layer for AI-Generated Web Content

declared in 1.0.0

Edit a generated WebZum site by describing the change in natural language. This is the primary editor tool. Given a user instruction (in conversationHistory), the WebZum editor builds the minimal site tree, sends it to an LLM with the user's verbatim words, applies the returned HTML diff across every page that contains each affected section, and reassembles into a new version. Use this for nearly all edits: "make the hero say X", "remove the testimonials section", "change the about-us copy to be friendlier", "swap the order of the sections on the home page". Required: businessId, versionId, and a conversationHistory containing at least one user turn. The LLM reads the user's verbatim words — do not paraphrase. Returns { versionId, status: 'completed' | 'in_progress', ...extra }. If status is 'in_progress', the edit is still running in the background — poll get_site_status with the returned versionId every 5-10s until isComplete is true. Concurrency: edits on the same businessId MUST be serial. Never fire parallel edit calls on the same site; concurrent edits race and may return the wrong versionId. Wait for each edit to complete (status: 'completed' OR isComplete on get_site_status) before issuing the next one.

Parameters schema

{
  "type": "object",
  "required": [
    "businessId",
    "versionId",
    "conversationHistory"
  ],
  "properties": {
    "versionId": {
      "type": "string",
      "description": "The versionId to base this edit on."
    },
    "businessId": {
      "type": "string",
      "description": "The site's businessId."
    },
    "conversationHistory": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "role",
          "content"
        ],
        "properties": {
          "role": {
            "enum": [
              "user",
              "assistant"
            ],
            "type": "string"
          },
          "content": {
            "type": "string"
          }
        }
      },
      "minItems": 1,
      "description": "Recent chat turns that produced this edit request. Must include at least one user turn. Pass the user's verbatim words so the editor LLM can read them directly."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

WebZum - The Hosting Layer for AI-Generated Web Content

1/7 registries
View full server →
update_site_html — WebZum - The Hosting Layer for AI-Generated Web Content — PRSM MCP