II.
ProtocolMessage overview
Reference · liveprotocol-message:gemini-content
Gemini Content (request/response envelope) overview
The role-tagged conversation envelope (role: user|model|system) carrying one or more Part objects. Used as both the request body's `contents[]` items and inside Candidate responses.
Attributes
displayName
Gemini Content (request/response envelope)
messageType
Content
subtype
none
direction
user-to-core
terminal
false
errorCategory
none
payloadSchema
type
Content
fields
- role
- parts[]
description
The role-tagged conversation envelope (role: user|model|system) carrying
one or more Part objects. Used as both the request body's `contents[]`
items and inside Candidate responses.
Outgoing edges
None.
Incoming edges
emits_message_type2
- agent-core-impl:gemini-cli.core@current·AgentCoreImplGemini CLI Core (current)
- provider:google·ModelProviderProductGoogle