pub type ToolFn = Box<dyn Fn(Value) -> Pin<Box<dyn Future<Output = AgencyResult<ToolResult>> + Send>> + Send + Sync>;
Type alias for tool execution function
pub struct ToolFn(/* private fields */);