Delete Artifact
artifact-deleteDelete an EXISTING artifact. Use this tool only when the user explicitly asks you to delete that artifact. Do not infer deletion from a cleanup request.
The tool makes a reversible soft deletion. It hides the artifact from normal lists and access paths. It keeps the artifact's code, assets, history, database content, and domain assignments. MCP cannot permanently delete an artifact.
The tool needs write access. Unpublish a published artifact before you delete it. If a publish is in progress, wait for the publish to finish. Then call artifact-unpublish. Then call artifact-delete again.
Set sessionId to the ID of the artifact to delete. An authorized repeated deletion succeeds.
Returns: { success, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The value is the session ID of the artifact to delete. |