AI Agents · Class
Runner
ToolNode is a prebuilt LangGraph node that runs tools requested by the last AIMessage. It returns a ToolMessage for each tool call and can run multiple calls in parallel.
Last updated
Syntax
new ToolNode(tools)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
StateGraphMessageGraphAIMessageToolMessagetool