Update a shared HTML page
update_htmlReplace an already-shared HTML page through its private edit link; the share link stays the same and viewers see the new encrypted version. Use this to change or fix a page shared earlier.
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}). | |
| link_name | No | The link_name given to share_html for this page, if any, so the returned share link matches the one already handed out. |