CORS origin tools and safer document inputs

Published: August 12, 2026

v2.29.0

New Features

  • cors_origins_delete tool: Agents can delete an existing CORS origin from a Sanity project.
  • cors_origins_list tool: Added support for listing CORS origins.

Fixes

  • create_documents tool: Now returns a corrective error instead of silently discarding document fields placed outside the content wrapper, so a document field named content no longer goes missing without warning.
  • patch_documents tool: Rejects unrecognised keys placed next to patches rather than ignoring them.

Related documentation

Loading...