Packages

@ai-sdk/anthropic

4.0.106 · 17 Nov 2026Apache-2.024.5M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major31 Jul 2025Where it was published

2.0.115 is the newest release of 2.x.

In short

1 breaking13 new17 fixed3 internal

  • Breaking

    AI SDK 5

Release note

Major Changes

  • Breaking

    AI SDK 5

Patch Changes

  • Feat (provider/anthropic): json response schema support via tool calls

  • Feat (provider/anthropic): send web search tool calls

  • anthropic/citation: Text support for citations

  • Feat (provider/anthropic): parse websearch tool args

  • Add raw chunk support

  • provider/anthropic: Correct Claude 4 model ID format

  • Chore (providers): remove model shorthand deprecation warnings

  • provider/anthropic: Add disable parallel tool use option

  • provider/anthropic: Add PDF citation support with document sources for streamText

  • Fix (provider/anthropic): streaming json output

  • anthropic: Add server-side web search support

  • packages: Export node10 compatible types

  • Fix (provider/anthropic): return stop finish reason for json output with tool

  • Add raw Anthropic usage information to provider metadata

  • Fix (provider/anthropic): send tool call id in tool-input-start chunk

  • anthropic: Add text_editor_20250429 tool for Claude 4 models

  • Fix (provider/google-vertex): fix anthropic support for image urls in messages

  • Feat (providers/anthropic): add claude v4 models

  • Add support for URL-based PDF documents in the Anthropic provider

  • Fix (providers/anthropic): remove fine grained tool streaming beta

  • Using Zod 4 for internal stuff

  • anthropic: Resolve web search API validation errors with partial location + provider output

  • Improve Zod compatibility

  • streamText onChunk raw chunk support

  • Added anthropic provider defined tool support to amazon bedrock

  • Add web search tool support

  • Anthropic computer tool

  • Feat (provider/anthropic): enable streaming tool calls

  • tool-calling: Don't require the user to have to pass parameters

  • Feat (provider/anthropic): cache control for tools

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.