Skip to content

Part

One part of a message, with a type as defined by the OpenTelemetry GenAI conventions.

Property Type Description
type string One of text, reasoning, tool_call, tool_call_response, uri, file or blob.
content? string -
id? string -
name? string -
arguments? object Any JSON value. It is stored as a flattened field.
response? object Any JSON value. It is stored as a flattened field.
modality? "image" | "video" | "audio" | "document" -
mime_type? string -
uri? string -
file_id? string -
truncated? boolean -