Skip to main content
SurfaceSURFACE BREAK

LangChain releases langchain-core 1.2.15 with tool schema fixes

LangChain released langchain-core version 1.2.15, fixing error handling for non-JSON-serializable tool schemas and improving documentation for chat model event hooks.

VERIFIEDConfidence: 80%

LangChain released langchain-core version 1.2.15, addressing a critical error handling issue for developers integrating AI models with external tools. The update improves error messages when tool schemas cannot be serialized to JSON—a common integration point when connecting Claude and other language models to APIs and databases. The release also refines documentation for chat model event hooks, clarifying which parameters are required.

Tool integration is a core capability of AI systems like Claude, enabling models to call external functions and retrieve real-time information. When developers define tools incorrectly, unclear error messages slow debugging. This patch reduces friction by surfacing more descriptive error context. The documentation improvements ensure developers understand exactly which arguments the on_chat_model_start hook requires, reducing integration mistakes.

Newsletter

Stay informed. The best AI coverage, delivered weekly.

Related