Skip to main content

ImageContent

Type Alias ImageContent 

Source
pub type ImageContent = Annotated<RawImageContent>;
Expand description

Re-exports of the rmcp wire-protocol types this crate now surfaces directly instead of wrapping. Pull these in to pattern-match on tool annotations, content blocks, structured tool output, embedded resources, sampling / elicitation requests, progress and log notifications, etc.

Aliased Type§

pub struct ImageContent {
    pub raw: RawImageContent,
    pub annotations: Option<Annotations>,
}

Fields§

§raw: RawImageContent§annotations: Option<Annotations>