Streaming text tool output

I think what they mean by tool streaming is that the input streaming part is currently implemented, meaning the tool input can be streamed in. However, there’s no implementation for output-available streaming, which I’d also need.

Here’s a related discussion:
https://community.vercel.com/t/can-i-stream-structured-tools-ouput/12124

<Message key={id} role={role}>
  {parts.map((part) => {
    switch (part.type) {
      case "text":
        return part.text;
      case "tool-queryTool": {
        switch (part.state) {
          case "input-streaming":
            // This part is streamed
            return <pre>{JSON.stringify(part.input, null, 2)}</pre>;
          case "input-available":
            return <pre>{JSON.stringify(part.input, null, 2)}</pre>;
          // This part is not streamed
          case "output-available":
            return <pre>{JSON.stringify(part.output, null, 2)}</pre>;
          case "output-error":
            return <div>Error: {part.errorText}</div>;
        }
      }
    }
  })}
</Message>

@Pauline Is support for output streaming on the roadmap?