Documentation
Framework
Version
Class References
Function References
Interface References
Type Alias References
Variable References

StreamChunkType

Type Alias: StreamChunkType

ts
type StreamChunkType = 
  | "content"
  | "tool_call"
  | "tool_result"
  | "done"
  | "error"
  | "approval-requested"
  | "tool-input-available"
  | "thinking";
type StreamChunkType = 
  | "content"
  | "tool_call"
  | "tool_result"
  | "done"
  | "error"
  | "approval-requested"
  | "tool-input-available"
  | "thinking";

Defined in: types.ts:505