Packages

@ai-sdk/amazon-bedrock

5.0.145 · 17 Nov 2026Apache-2.06.9M / weekRepositoryHomepagenpmAtom feed

Your version

3.0.143

3 Nov 2026Where it was published

3.0.146 is the newest release of 3.x.

In short

1 new2 fixed1 internal

Release note

Patch Changes

  • Enable native structured output for supported Claude 5 models on Bedrock. In automatic mode, Bedrock and Anthropic now fall back for schemas that native structured output cannot represent: recursive references, open objects, or more than ten optional properties. Anthropic uses the JSON response tool; Bedrock Converse uses the JSON tool or JSON instructions for models that reject forced tool use. The JSON-tool fallback excludes disabled and unselected application tools. Explicit outputFormat selection remains unchanged.

  • Default to disabling parallel tool use for named Anthropic tool choices on models that support forced tools. Preserve the complete function tool catalog and prompt cache compatibility. An explicit providerOptions.anthropic.disableParallelToolUse: false keeps parallel calls enabled.

  • amazon-bedrock: Parse JSON string tool inputs and safely serialize BigInt and cycles in tool outputs

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.