AI Agents · Class
MessageGraph
ToolNode runs the tools requested by the latest AIMessage. It supports StateGraph message state and MessageGraph, and returns one ToolMessage for each call.
Last updated
Syntax
new ToolNode<T>(tools)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
StateGraphMessageGraphToolMessageAIMessage