publish_link
Publish text content (HTML, Markdown, or plain text) to a permanent, shareable URL. Control visibility: public, private, password-protected, or email-restricted.
Instructions
Publish text-based content (HTML, Markdown, or plain text) to a permanent whamlink URL. Links are public (unlisted) by default; set visibility to private/password/email to gate them. (PDF/image files aren't supported over MCP — use the whamlink dashboard or multipart API for those.) Never publish secrets or private data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | sandboxed_html (runs JS, isolated origin), sanitized_html (scripts stripped), markdown, or text | |
| title | No | ||
| content | Yes | The text content to publish (UTF-8). | |
| password | No | ||
| visibility | No | Default public. private = owner only; password = also pass `password`; email = also pass `shareEmails` | |
| shareEmails | No | ||
| allowNetwork | No | Let sandboxed/sanitized HTML load https CDN scripts/styles |