[PR #977] [MERGED] langgraph[patch]: ToolNode support for tools outputting msg #1810

Closed
opened 2026-02-20 17:45:36 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/977
Author: @baskaryan
Created: 7/9/2024
Status: Merged
Merged: 7/15/2024
Merged by: @baskaryan

Base: mainHead: bagatur/rfc_tools_returning_tool_msg


📝 Commits (7)

📊 Changes

5 files changed (+27 additions, -36 deletions)

View changed files

📝 libs/langgraph/langgraph/prebuilt/tool_node.py (+12 -26)
📝 libs/langgraph/poetry.lock (+4 -4)
📝 libs/langgraph/pyproject.toml (+2 -2)
📝 libs/langgraph/tests/__snapshots__/test_pregel.ambr (+2 -2)
📝 libs/langgraph/tests/test_pregel.py (+7 -2)

📄 Description

After https://github.com/langchain-ai/langchain/pull/24038, tools will be able to take in typed ToolCalls directly and will output a ToolMessage when invoked with a ToolCall

Requires langchain-core==0.2.16 to be released


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraph/pull/977 **Author:** [@baskaryan](https://github.com/baskaryan) **Created:** 7/9/2024 **Status:** ✅ Merged **Merged:** 7/15/2024 **Merged by:** [@baskaryan](https://github.com/baskaryan) **Base:** `main` ← **Head:** `bagatur/rfc_tools_returning_tool_msg` --- ### 📝 Commits (7) - [`9bd0af4`](https://github.com/langchain-ai/langgraph/commit/9bd0af4ac2a0b43e2e815364c851cdf5c8338851) rfc: tool node support tools outputting msg - [`495a390`](https://github.com/langchain-ai/langgraph/commit/495a3906db8cbfba9ae974e5da9620376a03b915) Merge branch 'main' into bagatur/rfc_tools_returning_tool_msg - [`1d98fd9`](https://github.com/langchain-ai/langgraph/commit/1d98fd9a9164d938f05847759d1293df206e53d4) fmt - [`5d1bb83`](https://github.com/langchain-ai/langgraph/commit/5d1bb8359ca248b9e0f783978d04a8f9309b0b21) fmt - [`adf74d8`](https://github.com/langchain-ai/langgraph/commit/adf74d87066408c4866ba51f37b730a583787057) fmt - [`cee48f1`](https://github.com/langchain-ai/langgraph/commit/cee48f194960d0a89deaf61f196c1c4a42eaf834) fmt - [`8f973f7`](https://github.com/langchain-ai/langgraph/commit/8f973f7604a5923c605e741d0fa094ca2efb5228) fmt ### 📊 Changes **5 files changed** (+27 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/langgraph/prebuilt/tool_node.py` (+12 -26) 📝 `libs/langgraph/poetry.lock` (+4 -4) 📝 `libs/langgraph/pyproject.toml` (+2 -2) 📝 `libs/langgraph/tests/__snapshots__/test_pregel.ambr` (+2 -2) 📝 `libs/langgraph/tests/test_pregel.py` (+7 -2) </details> ### 📄 Description After https://github.com/langchain-ai/langchain/pull/24038, tools will be able to take in typed ToolCalls directly and will output a ToolMessage when invoked with a ToolCall Requires `langchain-core==0.2.16` to be released --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-20 17:45:36 -05:00
yindo closed this issue 2026-02-20 17:45:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#1810