Skip to main content

tool

Function tool 

Source
pub fn tool<R: Rail>(
    rail: &R,
    name: &str,
    arguments: &Map<String, Value>,
) -> Option<ToolResult>
Expand description

Serves name when it is a lifecycle tool; None otherwise.