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 */);pub type ToolExecuteBox = Box<dyn Fn(Arc<ToolContext>, String) -> ToolFuture + Send + Sync>;Boxed-closure tool (for stateful tools that capture external state).
pub struct ToolExecuteBox(/* private fields */);