Publish a new page
publish_pagePublish a new HTML (or Markdown) page to the maker's PubSpace space and get back a live, shareable URL to hand to the human. Pages are unlisted by default — indexed by search engines only if the maker turns that on later (Pro); anyone with the link can view. Use this only for a brand-new page; to change a page that already exists, call update_page so its URL stays the same (find the id with list_pages). Each call creates a page that counts toward the plan's live-page cap; at the cap the call fails with doc_limit_reached and, on the free plan, an upgrade link to relay to the human. Returns { url, id, mode, visibility, dashboardUrl }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Full HTML document (or Markdown when source_type is "markdown"). Served byte-faithful apart from documented meta/bar injections. | |
| title | No | Optional title (used in the dashboard and social cards). | |
| project | No | Optional: which body of work this page belongs to (e.g. "Q3 board pack"). Groups pages in the maker's library — reuse their existing project names from list_pages when one fits. (Renamed from `product` in v0.16.0; the old name is still accepted.) | |
| source_type | No | Default "html". |