Publish a new Temp
publish_tempPublish a new web artifact (HTML, Markdown, CSV, or Mermaid) to temp.md and obtain a stable public URL that remains accessible.
Instructions
Publish an artifact (HTML, Markdown, CSV, or Mermaid) to temp.md and get a stable public URL. Use only for a NEW artifact — if this project already has a Temp for it (check .tempmd), use update_temp to keep the same link. The record is saved to .tempmd automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the main artifact file (.html, .md, .csv, .mmd) | |
| title | No | Display title (defaults to the HTML <title> if present) | |
| project_dir | No | Project root holding the .tempmd records file. Defaults to the current working directory. | |
| additional_files | No | Extra files to publish alongside the main file (scripts, styles, images) |