Publish artifact
artifact_publishPublish files, folders, or inline content to a local artifact shelf and get a stable browser preview URL. Update existing pages by reusing the same slug.
Instructions
Publish a file, folder, or inline content to the local artifact shelf and get a stable browser preview URL back. Call this whenever you produce something viewable — a report, HTML page, diagram, dataset — so the user gets a URL without having to ask. Use the same slug with updateExisting:true to push new revisions of the same page. path/folder sources are read from the machine running the shelf; over remote MCP connections use content sources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | Serve straight from the source path — edits show on refresh (default for path/folder sources). Pass false to freeze an immutable snapshot instead. Not applicable to content sources. | |
| slug | No | Stable URL slot (/p/<slug>). Generated from title/filename if omitted. | |
| tags | No | ||
| title | No | ||
| source | Yes | ||
| renderer | No | ||
| description | No | ||
| updateExisting | No | If the slug already exists, add a new revision instead of failing |