Artifact database reads/writes can now use a reduced access level and pin to a document version
Artifact database write_db and read_db calls can now pass an as_level parameter set to interact or admin, letting Claude act with a reduced access level to test what a less-privileged viewer would be able to do. Writes can also pin themselves to a specific document version using if_version, which fails with a version_mismatch error if the document was changed in the meantime.
as_level lets you check how an artifact behaves for users with limited permissions, and if_version protects against accidentally overwriting a document that changed since it was last read.