If you inspect the prompt traces of most enterprise AI agents today, you will find an embarrassing secret: more than eighty percent of the tokens sent to the foundation model have nothing to do with the user's question. They are raw, verbose JSON Schema definitions describing dozens of internal microservices, databases, and third-party APIs that the user never asked for.
In an enterprise environment with a hundred internal tools—from Kubernetes cluster diagnostics to CRM accounts and SQL query runners—those schema definitions easily consume 40,000 to 50,000 prompt tokens on every turn. Even at modern Gemini 4 Hydrogen economics ($1.50 per million input tokens), re-sending static schemas across high-volume chat streams costs thousands of dollars a month in useless compute, increases time-to-first-token latency, and pollutes the model's attention window.
On November 16, 2026, Google shipped Gen AI SDK v3.4.0 across JavaScript/TypeScript and Python with a surgical architectural fix: native Tool Search primitives in the Interactions API. Instead of receiving a massive static array of tools upfront, Gemini receives a lightweight tool search capability. When an engineering incident strikes, the agent emits a targeted tool search query, discovers the exact cluster inspection tool needed in sub-second time, mounts its schema dynamically, and executes the resolution—slashing prompt token overhead by more than ninety-five percent.
Equally transformative for real-world products is static media processing. Until now, asking an agent to review a specific two-minute customer exchange inside an hour-long recording or verify four balance-sheet pages in a 300-page SEC 10-K filing required complex custom preprocessing pipelines—spinning up ffmpeg instances or writing brittle PDF slicing scripts. With SDK v3.4.0, developers simply pass time offsets and page ranges directly to the Gemini API, letting Google infrastructure handle extraction cleanly and without file lifecycle friction.