ai@7.0.127
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.
Why this signal matters
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.
Actionable 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.
- Agent usefulness
- 77/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Upgrade to ai@7.0.127 to leverage deferred tool search improvements and fixes for UI message stream cancellations.