Command is not applied from a tool that has return_direct=True #799

Open
opened 2026-02-20 17:41:50 -05:00 by yindo · 2 comments
Owner

Originally created by @eyurtsev on GitHub (Jul 14, 2025).

Privileged issue

  • I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.

Issue Content

Needs to be confirm

https://forum.langchain.com/t/command-and-update-inside-tool-function-with-return-direct-flag/358

Originally created by @eyurtsev on GitHub (Jul 14, 2025). ### Privileged issue - [x] I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here. ### Issue Content Needs to be confirm https://forum.langchain.com/t/command-and-update-inside-tool-function-with-return-direct-flag/358
yindo added the bugmaintainer labels 2026-02-20 17:41:50 -05:00
Author
Owner

@sydney-runkle commented on GitHub (Jul 20, 2025):

Shouldn't this be the case?

@sydney-runkle commented on GitHub (Jul 20, 2025): Shouldn't this be the case?
Author
Owner

@bharathiselvan commented on GitHub (Dec 5, 2025):

Do we have any updates on this?..
Is it possible for a tool to return its normal result alongside a state update when using Command, and if so, what is the preferred approach?

@bharathiselvan commented on GitHub (Dec 5, 2025): Do we have any updates on this?.. Is it possible for a tool to return its normal result alongside a state update when using Command, and if so, what is the preferred approach?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#799