ToolFn

Type Alias ToolFn 

Source
pub type ToolFn = Box<dyn Fn(Value) -> Pin<Box<dyn Future<Output = AgencyResult<ToolResult>> + Send>> + Send + Sync>;
Expand description

Type alias for tool execution function

Aliased Typeยง

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