[](https://js.langchain.com/docs/how_to/stream_tool_client/): LLM should read this page when: 1) Developing a React application that needs to stream structured output data from a language model to the client 2) Integrating LangChain with a frontend application and streaming tool results This page explains how to stream structured output from LangChain tools to a React client using React Server Components. It covers setting up the required dependencies, defining a schema for the tool data, implementing an executeTool function to handle the tool logic and streaming, binding the tool to a language model, and piping the components together to stream the results to the client.

