Packages

@google/genai

3.6.1 · 18 Nov 2026Apache-2.032.9M / weekRepositoryHomepagenpmAtom feed

Your version

0.15.0

19 May 2025Where it was published

In short

23 new8 fixed

Release note

Features

  • Add time range filter to Google Search Tool

  • Add basic support for async function calling.

  • Add CallableToolConfig to specify behavior for FunctionDeclarations

  • Add configurations for afc.

  • Add live proactivity_audio and enable_affective_dialog

  • Add Lyria Realtime music generation support for JS

  • Add Lyria Realtime Music Types

  • Add MCP telemetry usage to TS SDK.

  • Add multi-speaker voice config

  • Add support for lat/long in search.

  • Add support for MCP in TS SDK.

  • Add support for propertyOrdering field.

  • Add Video FPS, and enable start/end_offset for MLDev

  • Enable AFC on Generate content stream

  • Export the createJsonSchemaValidator methods to be available for other library.

  • List all mcp tools to max and mcpToTool taking a spread.

  • MCP: Add a new interface for automatic function calling

  • MCP: Add mcpToTool to pass MCP clients for automatic function calling

  • Remove MCP Tool and MCP Client from ToolUnion

  • Support customer-managed encryption key in cached content

  • Support Url Context Retrieval tool

Bug Fixes

  • Add an ES module for node environments.

  • Add default headers to model calls when MCP is enabled

  • Allow contents with no-text thoughts in chat history

  • chats: Enforce internal management of chat history

  • chats: Relax the constraint on chat turns

  • Make the system-test build.

  • Move test-server-sdk from dependencies to devDependencies

  • Move test-server-sdk to devDependencies

  • Run tests against Node 24

  • Skip MCP tool call when function name not present in the tool

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.