ReadonlyroleWho the message is from. "tool" is a tool result, sent back to the model after it requested the call.
ReadonlytextThe message text. For a tool result, what the tool returned; empty when an assistant turn only requested tools.
Optional ReadonlytoolThe tool calls an assistant turn requested. Present only on such a turn.
Optional ReadonlytoolThe result a tool entry carries. Present only on a "tool" entry.
One message of an AiTranscript, as read through
entries().