@ai-sdk/google-vertex
5.0.144 · 20 Nov 2026Apache-2.06.4M / weekRepositoryHomepagenpmAtom feed
4.0.234 is the newest release of 4.x.
In short
1 breaking19 new9 fixed8 internal
- Breaking
Ai SDK 6 beta
Release note
Major Changes
- Breaking
Ai SDK 6 beta
Patch Changes
provider: Add specificationVersion to ProviderV3
Remove duplicate gemini-1.0-pro-001 model ID
Add Google Maps grounding tool support for location-aware Gemini responses
Add Google Vertex RAG Engine grounding provider tool
EmbeddingModelV3Fix adding google search along with url context in vertex ai
provider/google-vertex: Add support for the imageSize provider option
Add claude-opus-4-5@20251101 to Google Vertex Anthropic models
Tool execution approval
vertex/anthropic: Passing beta header only for structured outputs
Provider-V3Extended token usage
Add provider version to user-agent header
provider/vertext: Add express mode support
LanguageModelV3Add claude sonnet 4.5 in google vertex anthropic provider
provider/google: Add enterpriseWebSearch tool
Image editing
vertex: Allow 'vertex' as a key for providerOptions
Add Google File search tool
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.
ImageModelV3google: gemini-3-flash
Update google-auth-library to ^10.5.0
Moved dependency
@ai-sdk/test-serverto devDependenciesgoogle,google-vertex: Update known model IDs
Chore (provider/google): Add preview modelIds for gemini 2.5 flash and lite
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.