@langchain/anthropic
1.6.6 · 20 Nov 2026MIT2.1M / weekRepositoryHomepagenpmAtom feed
1.6.6 is the newest release of 1.x.
In short
1 fixed
Release note
Patch Changes
Round-trip the tool search server-tool result blocks (
tool_search_tool_bm25_tool_result/tool_search_tool_regex_tool_result) through message translation, mirroringweb_search_tool_result. Without this, a multi-turn conversation using the tool search tool fails on the next request with400 invalid_request_error … tool use … found without a corresponding … tool_result block, because the result block was dropped from the assistant message (streaming capture) and on re-send (toolTypespassthrough).
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.