Skip to main content

ToolExecutor

Trait ToolExecutor 

Source
pub trait ToolExecutor: Send + Sync {
    // Required method
    fn call(&self, name: &str, input: Value) -> Result<Value, ToolError>;
}

Required Methods§

Source

fn call(&self, name: &str, input: Value) -> Result<Value, ToolError>

Implementors§