One of the following:
String = String
UnionMember1 = Array[AgentSessionInputMessageParam { content, role, type } ]
content: Array[InputContentParam]

The content of the message.

minItems0
maxItems16384
One of the following:
class InputText { text, type }

Text input to the model.

text: String

The text sent to the model.

minLength0
maxLength1048576
type: :input_text

The type of the object. Always input_text.

class InputImage { image_url, type }

Image input to the model.

image_url: String

The URL of the image sent to the model.

minLength0
maxLength1048576
type: :input_image

The type of the object. Always input_image.

role: :user

The role of the message author. Always user.

type: :message

The type of the input item. Always message.