pub type AsyncToolFn = Arc<dyn Fn(Value, ToolContext) -> Pin<Box<dyn Future<Output = Result<ToolResult>> + Send + 'static>> + Send + Sync>;
Expand description
Type alias for async tool handler functions
Aliased Typeยง
pub struct AsyncToolFn { /* private fields */ }