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<Annotations>,
}

Fields§

§name: String

Name of the tool

§description: Option<String>

Description of what the tool does

§input_schema: ToolInputSchema

JSON Schema describing the tool’s input parameters

§annotations: Option<Annotations>

Tool behavior annotations (2025-03-26 NEW)