# ai@7.0.127

Category: agent-infrastructure
Published: 2026-10-01T19:09:32Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/ai%407.0.127)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-01T22:17:45.640Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK 7.0.127 introduces tool search enhancements including a search() callback and configurable maxResults, alongside fixes for consumer stream disconnection and cross-realm tool approval inputs.

## Agent Summary
ai@7.0.127 adds a search() callback to rank and select deferred tools, introduces a maxResults option for tool search, cancels merged UI message streams on consumer disconnect, and fixes tool approval inputs from alternate JS realms.

## Body
Vercel AI SDK released patch version ai@7.0.127. Key feature updates include the ability to select and rank eligible deferred tools using a 'search()' callback during tool search, along with a configurable 'maxResults' setting to limit the returned tools. Bug fixes address the cancellation of merged UI message streams upon consumer disconnection and ensure unchanged tool approval inputs originating from different JavaScript realms are properly accepted. Dependency updates include @ai-sdk/gateway@4.0.103.

## Recommended actions
- Upgrade to ai@7.0.127 to leverage deferred tool search improvements and fixes for UI message stream cancellations.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.