CORS origin tools and safer document inputs
Published: August 12, 2026
v2.29.0
New Features
cors_origins_deletetool: Agents can delete an existing CORS origin from a Sanity project.cors_origins_listtool: Added support for listing CORS origins.
Fixes
create_documentstool: Now returns a corrective error instead of silently discarding document fields placed outside thecontentwrapper, so a document field namedcontentno longer goes missing without warning.patch_documentstool: Rejects unrecognised keys placed next topatchesrather than ignoring them.