Back
AI summary
Written by AI from the official notes. Check them for exact details.Claude's Messages API now supports URL source blocks for images and PDFs, and introduces new tool options.
- Added URL source blocks for images and PDFs in Messages API.
- Introduced
noneoption fortool_choiceparameter. - No longer required to provide
toolswithtool_useandtool_resultblocks. - Launched OpenAI-compatible API endpoint for easier integration.
Why it matters: Developers using Claude's API should update their integrations to utilize these new features.
Full release notes3 changes
- We've added URL source blocks for images and PDFs in the Messages API. You can now reference images and PDFs directly through a URL instead of having to base64-encode them. Learn more in Vision and PDF support.
- We've added support for a
noneoption to thetool_choiceparameter in the Messages API that prevents Claude from calling any tools. Additionally, you're no longer required to provide anytoolswhen includingtool_useandtool_resultblocks. - We've launched an OpenAI-compatible API endpoint, allowing you to test Claude models by changing just your API key, base URL, and model name in existing OpenAI integrations. This compatibility layer supports core chat completions functionality. Learn more in OpenAI SDK compatibility.