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: StringName of the tool
description: Option<String>Description of what the tool does
input_schema: ToolInputSchemaJSON Schema describing the tool’s input parameters
annotations: Option<Annotations>Tool behavior annotations (2025-03-26 NEW)