{"version":"2.1.172","anchor":"artifact-tool","canonical_anchor":"artifact-tool","heading":"Artifact Tool","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.172\/e\/artifact-tool","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.172","markdown":"### Artifact Tool\n\n**What**\n\nClaude can now render an HTML or Markdown file to a private, shareable web page hosted on claude.ai. The resulting URL can be shared with teammates.\n\n**Usage**\n\n`Artifact(file_path=\"report.html\", favicon=\"\ud83d\udcca\") Artifact(file_path=\"notes.md\", favicon=\"\ud83d\udcdd\", label=\"v2\")` **Details** - Accepts `.html`, `.htm`, and `.md` files; Markdown is converted to styled HTML automatically - The `favicon` parameter (required) sets the browser-tab emoji icon \u2014 use one or two emoji, no markup - The optional `label` parameter provides a human-readable version label shown in the version picker - The optional `url` parameter lets Claude redeploy to an existing artifact URL the user provides - A strict CSP blocks all external resources \u2014 inline all CSS\/JS and embed assets as data: URIs - Same file path \u2192 same URL on redeploy; different file path \u2192 new URL - Controlled by the `CLAUDE_CODE_DISABLE_ARTIFACT` environment variable and the `disableArtifact` setting - Gated by feature flag `tengu_cobalt_plinth`; enabled for eligible claude.ai accounts **Evidence** Artifact tool implementation (search for `\"Render an HTML or Markdown file to an Artifact\"` and `uAH = \"Artifact\"`)\n\n- Flag `tengu_cobalt_plinth`: Off by default, switched on for this account (read for one account on one subscription tier against v2.1.172; this account: on, anonymous baseline: on, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release."}