Skip to content

0.2.25

Choose a tag to compare

@github-actions github-actions released this 23 Sep 21:38
342aee7

langgraph 0.2.25

Summary of Changes

  • Enhanced ToolNode to support multimodal content in tool responses, allowing tools to return images and other structured data alongside text (#1810)

Detailed Changes

ToolNode (langgraph prebuilt module)

  • Replaced str_output function with an improved msg_content_output function that can return multimodal content
  • The function now detects and preserves recognized content blocks (image, image_url, text, json) rather than converting everything to strings
  • Updated tool execution methods to support structured message content while maintaining backward compatibility
  • Tools can now return rich content that will be properly passed to the LLM, enabling multimodal interactions