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. Pages are public to anyone with the link.
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. |