Replies: 2 comments 3 replies
-
I'd probably use a custom node to execute tools if I wanted to make arbitrary state changes |
Beta Was this translation helpful? Give feedback.
3 replies
-
We have now added support for updating the state from the tools using the new Command type. Please see this how-to guide for reference https://langchain-ai.github.io/langgraph/how-tos/update-state-from-tools/. Let me know if you have any questions / feedback |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the old
ToolMessage
, it supports return customized state but with pre-builtToolNode
, there is no way to update other state status by using tool returned values. It could be related to https://github.com/langchain-ai/langgraph/issues?q=is%3Aissue+is%3Aopen+toolnode if customToolNode
is supported then the issue could be solved.Beta Was this translation helpful? Give feedback.
All reactions