Skip to content
Back to feed

May 1, 2025 · Anthropic

Cache control must be set on parent block of tool_result and document.source

  • Cache control must now be specified directly in the parent content block of tool_result and document.source. For backwards compatibility, if cache control is detected on the last block in tool_result.content or document.source.content, it will be automatically applied to the parent block instead. Cache control on any other blocks within tool_result.content and document.source.content will result in a validation error.