Version discard tool, dataset descriptions, and transport compatibility fixes

Published: February 13, 2026

v2.13.0

New Features

  • version_discard tool. New tool for removing document versions from a release, split out from discard_drafts for a clearer API.
  • Dataset descriptions. create_dataset, update_dataset, and list_datasets now support a description field.

Improvements

  • System prompt. Added guidance directing agents to use search_docs and read_docs tools for accessing Sanity documentation instead of web searches.

Fixes

  • MCP transport compatibility. Fixed an issue where clients sending params: null in JSON-RPC notifications (e.g. Claude Code, Cursor) would receive errors.
  • get_schema tool. Fixed an error that occurred when a schema type has a preview field with a null select value.
  • get_schema tool. Improved error message when an unknown type name is provided to now list valid type names.

Removals

  • Release management tools. Removed tools for managing releases. Releases can still be managed through Sanity Studio or the HTTP API.
Loading...
Version discard tool, dataset descriptions, and transport compatibility fixes | Sanity Docs