Tools
Vercel AI SDK 7.0.84 allows tool approval secrets in ToolLoopAgent settings and prepareCall
Released 2026-08-28, [redacted] fixes `ToolLoopAgent` settings and `prepareCall` rejecting tool approval secrets, exposes parsed structured output in `streamText` end callbacks, and handles stateful and empty-match regular expressions in `smoothStream`, a class of bug that silently drops or duplicates streamed text when a regex carries the sticky or global flag. The approval-secret fix matters if you gate agent tool calls on a shared secret, since the loop agent path previously would not carry it.
Source
↳ Follow the thread