{"version":"2.1.331","anchor":"artifact-db-write-files-action-is-treated-as-a-write-db-perm","canonical_anchor":"artifact-db-write-files-action-is-treated-as-a-write-db-perm","heading":"Writing files into an artifact's database now needs database write permission","tier":"notice","area":"Artifacts","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/artifact-db-write-files-action-is-treated-as-a-write-db-perm","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Writing files into an artifact's database now needs database write permission\n\nThe `db_write_files` action for artifacts is now treated as a database write and asks for the same permission as `db_write`\n\n**What**\n\nArtifacts are web pages Claude builds and shares. A new action, `db_write_files`, writes into an artifact's database from a file on your machine. Claude Code treats it as a database write:\n\n- the artifact it targets is the one named by its slug (the short name in its address)\n\n- the local file it reads comes from `file_path`\n\n**Why**\n\nWriting to a database from a file goes through the same permission check as `db_write`, so it cannot get around the approval you would give for a normal database write.\n\n- Area: Artifacts\n- Names: `db_write_files`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}