Skip to main content

get_tool

Function get_tool 

Source
pub fn get_tool<T: JsonSchema, S1, S2>(
    name: S1,
    desc: Option<S2>,
) -> Result<Tool, ToolError>
where S1: Into<Cow<'static, str>>, S2: Into<Cow<'static, str>>,