publish_page
Publish a new web page and get its public URL. Content is Markdown (GFM: tables, task lists, code fences) or HTML (sanitized: no scripts, forms or iframes; inline styles and allowed). Returns the URL to show the user, plus live_url on Pro: a private live view that shows each update the moment it's made, for people the owner invites from the dashboard. Pages are public to anyone with the link. Publish only content the user asked for; to test the connection, call get_account instead of publishing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Custom URL slug (Pro only). Lowercase letters, digits, hyphens. | |
| theme | No | Visual theme: paper (light), ink (dark), terminal (dark monospace). | paper |
| title | Yes | Page title (also the browser tab title). | |
| byline | No | Shown above the page, e.g. 'Prepared by Claude for Alex'. | |
| format | No | How to interpret `content`. | markdown |
| content | Yes | The page body in Markdown or HTML. | |
| expires_in_hours | No | Hours until the page expires. Omit for the plan default (guest 24h, free 7 days, Pro never). Pro can pass null for never. |