TextPart: {
    custom?: Record<string, unknown>;
    data?: unknown;
    media?: undefined;
    metadata?: Record<string, unknown>;
    text: string;
    toolRequest?: undefined;
    toolResponse?: undefined;
}

Text part.

Type declaration

  • Optionalcustom?: Record<string, unknown>
  • Optionaldata?: unknown
  • Optionalmedia?: undefined
  • Optionalmetadata?: Record<string, unknown>
  • text: string
  • OptionaltoolRequest?: undefined
  • OptionaltoolResponse?: undefined