ToolNode
A prebuilt component provided by LangGraph for automatically executing an agent's tool-calling loop, simplifying the implementation of ReAct agents.
Timeline (last 90 days)
Building a tool node in LangGraph requires wrapping the tool list with `ToolNode`, because tools are in list form and there may be multiple; LangGraph does special handling when calling tools and they cannot be used directly as ordinary functions.
LangGraph provides the preset ToolNode component, eliminating the trouble of hand-writing the tool execution loop, and is used to execute tool calls initiated by the LLM.
All Facts (2)
Building a tool node in LangGraph requires wrapping the tool list with `ToolNode`, because tools are in list form and there may be multiple; LangGraph does special handling when calling tools and they cannot be used directly as ordinary functions.
50%UnverifiedLangGraph provides the preset ToolNode component, eliminating the trouble of hand-writing the tool execution loop, and is used to execute tool calls initiated by the LLM.
50%