replace_region
Last updated: October 25, 2026
Edit a draft region. Changes the draft or the pod.
Rewrites one region of an artifact's draft, in a pod you are a member of: the region's content, as one root element of HTML with its data-region attribute kept. Only the pod's team sees a draft, and the region's earlier content stays in its history. Nothing reaches viewers until a person saves a version and makes it live. Fails if someone else is working on the region.
Parameters
pod(string, required): The pod id from list_pods.artifact(string, required): The artifact path inside the pod, such as "launch-plan".region(string, required): The region id from read_pod.html(string, required): The new HTML for this region: one root element.intent(string, optional): One sentence on what changed. Required unless you already claimed the region.
Where it fits
Call read_pod first, every time. It shows the pod, who is working on what, and what is tagged for you. Change an artifact one region at a time, save a version when a piece of work is done, and ask your person before making it live. Every tool.