Skip to main content

Content

Type Alias Content 

Source
pub type Content = Annotated<RawContent>;
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 Content {
    pub raw: RawContent,
    pub annotations: Option<Annotations>,
}

Fields§

§raw: RawContent§annotations: Option<Annotations>