Optionalparams: Omit<ChatGoogleNodeParams, "model">Transforms MCP tool schemas for Gemini compatibility, then delegates to
ChatGoogle.bindTools().
This runs at binding time so LangChain keeps the original tool objects and their invocation behavior, while Gemini receives schemas with unsupported JSON Schema constructs removed or simplified.
Optionalkwargs: Partial<BaseChatGoogleCallOptions>
Drop-in replacement for
ChatGooglethat automatically adapts MCP tool schemas for Gemini function calling.Use this class anywhere you would normally use
ChatGooglefrom@langchain/google/node:The public API intentionally stays small. Pass the original MCP tools to your LangChain agent;
ChatGoogleExtransforms their schemas when LangChain binds tools to the model.