A unique identifier for the message.
OptionalcontentComplete replacement content for this message.
Optional_The _meta property is reserved by ACP to allow clients and agents to attach additional
metadata to their interactions. Omitted leaves the stored metadata unchanged; null
clears it. An object patches the stored metadata by top-level key: keys it omits are
unchanged, a key set to null is removed, and any other value replaces that key's
stored value without merging nested objects. Beyond this patch rule, implementations
MUST NOT make assumptions about values at these keys.
See protocol docs: Metadata Patches
A user message upsert.
Only [
UserMessage::message_id] is required.contenthas patch semantics: an omitted field leaves existing message content unchanged,nullclears the value, and a concrete array replaces the previous value. For a newmessageId, omitted fields use client defaults.contentis replaced as a whole array; send[]ornullto clear it.Message updates and chunks are applied in the order they are received. When a
user_messageupdate includescontent, that array replaces any content previously accumulated for the message, including content from earlier chunks. Later chunks with the samemessageIdappend to the current content.