Update a shared HTML page
update_htmlReplace a previously shared HTML page via its private edit link; the original link serves the new version and content remains encrypted locally. Pass full updated HTML or a file path.
Instructions
Replace the content of an HTML page that was already shared with share_html, using its private edit link. The share link stays exactly the same, so anyone who already has it sees the new version. The new HTML is encrypted locally with the same key as before; html.cloud never sees the content. Use this when the user asks to change, fix, revise, or add to a page you shared earlier in the conversation — pass the full updated HTML document, not a diff: inline as html, or as the path of an .html file as path. Use path for large pages; do not fall back to share_html if the document is too big to pass inline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | The complete, self-contained HTML document that replaces the current one. Use path instead for large documents. | |
| path | No | Absolute path of a local .html file whose content replaces the current page, instead of passing html inline. | |
| edit_link | Yes | The private edit link returned by share_html (https://html.cloud/e/{id}#{key}). |