Optional
Readonly
contentOptional mapping of message types to their allowed content blocks. Each message type can specify what content block types it supports (text, images, etc).
Optional
Readonly
outputOptional output version for the message structure. If not provided, defaults to "v0".
Optional
Readonly
propertiesOptional mapping of message types to arbitrary property objects. Allows attaching custom metadata or other information to specific message types.
Optional
Readonly
toolsOptional set of tool definitions that can be used in messages. Each tool is defined with input/output types and can be referenced in tool messages.
Core interface that defines the structure of messages.
Example