[PR #5915] feat(prebuilt): support ToolOutput response_format #4718

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

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/5915

State: closed
Merged: Yes


  • Add support for ToolOutput response format.
  • I don't love the name -- it's confusing unless you know that it's parameterizing a strategy.

We should determine if we want to support our old strategy for doing things -- it has a higher latency (one extra LLM call), but it's a reasonable built-in strategy as it doesn't do anything awkward with conversation history. (Wouldn't surprising if it has overall better performance than tool choice for longer conversations)

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/5915 **State:** closed **Merged:** Yes --- * Add support for ToolOutput response format. * I don't love the name -- it's confusing unless you know that it's parameterizing a strategy. We should determine if we want to support our old strategy for doing things -- it has a higher latency (one extra LLM call), but it's a reasonable built-in strategy as it doesn't do anything awkward with conversation history. (Wouldn't surprising if it has overall better performance than tool choice for longer conversations)
yindo added the pull-request label 2026-02-20 17:50:38 -05:00
yindo closed this issue 2026-02-20 17:50:38 -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#4718