Skip to content

Type Alias: ChatContentPart

ChatContentPart = z.infer<typeof ChatContentPartSchema>

One entry of a structured content array. Extra provider keys round-trip through the catch-all.

  • type (optional): Part discriminator, such as text, input_text, or output_text.
  • text (optional): Plain-text payload carried by this part when present.