Skip to main content

ToolExecuteBox

Type Alias ToolExecuteBox 

Source
pub type ToolExecuteBox = Box<dyn Fn(Arc<ToolContext>, String) -> ToolFuture + Send + Sync>;
Expand description

Boxed-closure tool (for stateful tools that capture external state).

Aliased Type§

pub struct ToolExecuteBox(/* private fields */);