update_html
Modify an existing BrewPage HTML or Markdown page with its owner token, keeping the public link and delivery mode intact while returning updated page metadata.
Instructions
Update an existing BrewPage HTML/Markdown page. Requires owner token. Returns the updated page metadata. The link and delivery mode never change on update; an advisory deliveryModeReason and delivery notice are included when the new content uses browser features that may not work fully on a BrewPage link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page ID | |
| format | No | Content format. Accepts (case-insensitive on html/markdown): 'html', 'markdown'/'md', or a code language — yaml, json, xml, csv, tsv, log, toml, ini, sql, sh, bat, env, javascript, typescript, tsx, jsx, css, properties, docker, txt. Omit to preserve the stored format. | |
| content | Yes | New HTML or Markdown content | |
| namespace | Yes | Page namespace | |
| ownerToken | No | Owner token from create. Default: BREWPAGE_OWNER_TOKEN. |