API Reference
types
UserMessageTextContentPart
Represents a text content part of a user message
type
The type of the content part. Always “text” for text content parts.
text
The text content of the part.
UserMessageImageContentPart
Represents an image content part of a user message
type
The type of the content part. Always “image_url” for image content parts.
image_url
The URL of the image.