One part of a message, tagged by type, as OpenTelemetry's GenAI conventions define them.
| Property |
Type |
Description |
type |
string |
text, reasoning, tool_call, tool_call_response, uri, file or blob. |
content? |
string |
- |
id? |
string |
- |
name? |
string |
- |
arguments? |
object |
Any JSON value. Stored as a flattened field. |
response? |
object |
Any JSON value. Stored as a flattened field. |
modality? |
"image" | "video" | "audio" | "document" |
- |
mime_type? |
string |
- |
uri? |
string |
- |
file_id? |
string |
- |
truncated? |
boolean |
- |