Skip to main content

EmbeddedResource

Type Alias EmbeddedResource 

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

Fields§

§raw: RawEmbeddedResource§annotations: Option<Annotations>