Type Alias ToolInfo

Source
pub type ToolInfo = Tool;

Aliased Type§

pub struct ToolInfo {
    pub name: String,
    pub description: Option<String>,
    pub input_schema: ToolInputSchema,
    pub annotations: Option<ToolAnnotations>,
    pub title: Option<String>,
    pub meta: Option<HashMap<String, Value>>,
}

Fields§

§name: String

Intended for programmatic or logical use

§description: Option<String>

Description of what the tool does

§input_schema: ToolInputSchema

JSON Schema describing the tool’s input parameters

§annotations: Option<ToolAnnotations>

Tool behavior annotations (2025-06-18)

§title: Option<String>

Intended for UI and end-user contexts

§meta: Option<HashMap<String, Value>>

Metadata field for future extensions