LangGraph · Class
Command
Command lets a LangGraph.js node update graph state and choose the next node in one return value. It also supports resuming interrupted work and sending commands to another graph.
Last updated
Syntax
new Command<Resume, Update, Nodes>(args: Omit<CommandParams<Resume, Update, Nodes>, "lg_name">)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Command.PARENTSendinterruptStateGraphAnnotation