Update Artifact
update_artifactPublish a new version of an artifact you already published, keeping its slug and URL. Without content or content_base64, it only changes what you pass (title, project, summary, prompt, share) and keeps the current version: use that to move an artifact into another project. Fails if no artifact has that slug; use publish_artifact for new work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Override the detected kind, e.g. "Deck" or "App" for an HTML file. | |
| slug | Yes | Slug of the artifact to update. | |
| share | No | Turn on the public share link, for an artifact you are about to send to someone. Anyone with the link can view it. | |
| title | No | Short human title. Defaults to the HTML <title> or first Markdown heading. | |
| prompt | No | The request that produced this artifact. | |
| content | No | The new file contents, for text files. Omit to change only the details. | |
| project | No | Project path to file it under, e.g. "RentOS" or "RentOS/Backlinks" (up to 3 levels). Call list_projects first and use the most specific existing project that fits; start a subproject of an existing one before a new top-level project. Matching ignores case and punctuation. | |
| summary | No | One or two sentences on what this is. | |
| filename | No | File name with extension, needed with new content. The extension decides how it renders. | |
| content_base64 | No | Base64-encoded file contents, for binary files (PNG, JPEG, PDF). | |
| project_description | No | One sentence on what belongs in the project, used when this starts a new one (or it has no description yet). |