Improvements and fixes in documents, dataset, and identity tools

Published: September 3, 2026

v2.31.1

Improvements

  • whoami tool: Include the active Sanity account in responses.
  • query_documents tool: Removed an unused parameter.
  • get_document tool: Validate provided document IDs.
  • query_documents tool: Gracefully handle Content Lake query timeouts.
  • Schema overviews: Improved guidance for retrieving exact field definitions.
  • create_dataset tool: Validate provided dataset names.

Fixes

  • Content Releases: Ensure document changes are saved to the intended release.
  • search_docs tool: Fixed an error when no results were returned.
  • patch_documents tool:
    • Corrected the examples for targeting a single array item so they use valid JSON and no longer create selectors that match nothing.
    • Documented that adding a Portable Text annotation requires updating both markDefs and the target span’s marks in the same request.

Related documentation

Loading...