Skip to main content

tool

Function tool 

Source
pub fn tool<T>(name: &str, description: &str) -> ToolDef
Expand description

Create a tool definition from a typed struct.