@ai-sdk/google-vertex
5.0.144 · 20 Nov 2026Apache-2.06.4M / weekRepositoryHomepagenpmAtom feed
3.0.192 is the newest release of 3.x.
In short
2 new1 internal
Release note
Patch Changes
Add
gemini-3-pro-previewandgemini-3-pro-image-previewmodel IDsprovider/amazon-bedrock,provider/google-vertex-anthropic: Add support for tool calling with structured output
Added support for combining tool calling with structured outputs in both Amazon Bedrock and Google Vertex Anthropic providers. This allows developers to use tools (like weather lookups, web search, etc.) alongside structured JSON output schemas, enabling multi-step agentic workflows with structured final outputs.
Amazon Bedrock Changes:
Removed incorrect warning that prevented using tools with JSON response format
Updated tool choice to use
{ type: 'required' }instead of specific tool selection when using structured outputsAdded
isJsonResponseFromToolparameter to finish reason mappingJSON tool responses are correctly converted to text content and finish reason is mapped from
tool_usetostopAdded comprehensive test coverage for combining tools with structured outputs
Added example files demonstrating the feature
Google Vertex Anthropic Changes:
Inherits support from underlying Anthropic provider implementation
Added test coverage to verify the feature works correctly
Added example files demonstrating the feature
This brings Anthropic provider's structured output capabilities to the Amazon Bedrock and Google Vertex Anthropic providers.
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.