Skip to main content

ToolAnnotationsCompact

Type Alias ToolAnnotationsCompact 

Source
pub type ToolAnnotationsCompact = ToolAnnotations;
Expand description

Type alias for backward compatibility with existing code.

Aliased Type§

pub struct ToolAnnotationsCompact {
    pub read_only_hint: bool,
    pub destructive_hint: bool,
    pub idempotent_hint: bool,
    pub open_world_hint: bool,
    pub input_schema_hash: Option<String>,
}

Fields§

§read_only_hint: bool§destructive_hint: bool§idempotent_hint: bool§open_world_hint: bool§input_schema_hash: Option<String>

SHA-256 hash of the tool’s inputSchema JSON for rug-pull schema change detection. None when no inputSchema was present in the tool definition.