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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file": "<file>"
},
"name": "publish_temp"
}
}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) |