Skip to content
masterclass Buddy

AI Agents · Class

FunctionTool

LangGraph.js prebuilt components help build agents and tool workflows. ToolNode runs model-requested tools, and toolsCondition helps route a graph based on tool calls.

Last updated

Syntax

new ToolNode(tools)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • ToolNode
  • toolsCondition
  • ActionRequest
  • HumanInterrupt
  • HumanInterruptConfig
  • ToolInvocationInterface
  • HumanResponse
  • ToolNodeOptions

Source: prebuilt | LangGraph.js API Reference. Checked 2026-11-03.