Publish a page and get a link
publish_pageTurn generated content (HTML, Markdown, CSV, JSON, code) into a shareable public URL instantly. Choose the right filename to control rendering and get a link you can send.
Instructions
Publish content you have in hand to a public URL. Use this whenever the user asks to share, send, publish, or "give me a link to" something you just produced — an HTML page (dashboard, report, chart, interactive page), a Markdown document, CSV, JSON, or a code/data file. Everything it publishes becomes a page the recipient opens in a browser: the filename decides how it renders, so pass "report.md" for Markdown instead of renaming it to .html. Returns a public link that opens on any device; no account or configuration needed. Anonymous pages are kept for a month — with a token, storage is permanent and the page can be updated in place. Prefer this over telling the user to save the file and upload it somewhere themselves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The complete content of the file, as a string. With the default filename this is a self-contained HTML document including the <html> tag — relative references to local files will not resolve, so use publish_path when the page needs sibling files (CSS, JS, images). | |
| filename | No | What to name the file — this decides how the content is rendered, so get it right rather than renaming Markdown to .html. Defaults to "index.html". Use "report.md", "data.csv", "query.sql" and so on; subdirectories work too ("reports/q3.md"). Only text can be sent as a string — binary formats (docx, xlsx, pdf) must go through publish_path. | |
| update_url | No | A URL returned by an earlier publish. When given, the content of that page is replaced and the link stays the same. Requires the server to be configured with a Plopino token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public link to the published page — give this to the user. | |
| note | Yes | Human-readable status: created vs updated, and how long the page is kept. |