Optional ReadonlycontentOptional mapping of message types to their allowed content blocks. Each message type can specify what content block types it supports (text, images, etc).
Optional ReadonlyoutputOptional output version for the message structure. If not provided, defaults to "v0".
Optional ReadonlypropertiesOptional mapping of message types to arbitrary property objects. Allows attaching custom metadata or other information to specific message types.
Optional ReadonlytoolsOptional 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