Messages API adds URL image and PDF sources and tool_choice none
Images and PDFs can be passed by URL instead of base64, tool_choice accepts none to forbid all tool calls, and tool_use and tool_result blocks no longer require a tools array in the request.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingPassing large PDFs by URL shrinks payloads and removes a fetch-and-encode step from your services, a small win in latency and engineering time. No action needed.
Engineer
What to change, what breaks, what to test Worth knowingUse a URL source block for images and PDFs instead of base64. Use `tool_choice: {"type": "none"}` for final summarization turns — it keeps tool definitions in place so your prompt cache survives. Replayed transcripts with `tool_use`/`tool_result` no longer need the `tools` array.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is an API-only change and does not affect the Claude apps.
URL source blocks let you reference an image or PDF by its public URL in a content block, so you no longer have to fetch and base64-encode the file yourself. That removes a round trip and shrinks request payloads considerably for large PDFs.
tool_choice: none gives an explicit way to stop Claude calling any tool on a given turn while leaving the tool definitions in place — useful for the final summarization turn of an agent loop, and cheaper than rebuilding the request without tools, which would also break the prompt cache. Relatedly, a request containing tool_use and tool_result blocks in its history no longer needs to repeat the tools array, which makes replaying a transcript simpler.
All three are additive; existing requests are unaffected.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
image.source.type=url | added | no | |
document.source.type=url | added | no | |
tool_choice.type=none | added | no | |
tools | changed | no |
Topics: Images, audio and video