Message content. Typically a primitive or template string, but any PropValue is allowed so non-string content (e.g. structured content arrays) can round-trip through the editor.
Role identifier ('system', 'user', 'assistant', 'tool', …).
OptionaltoolOptional tool calls attached to an assistant message.
A single message in a conversation, in a form that is independent of any particular SDK's message shape.