async def install_library(request: InstallLibraryRequest):
    """
    Endpoint to install a library.

    Args:
        library: The library to install

    Returns:
        A success message
    """


    install_library_(request.library)

    return {"message": "Library installed successfully"}

    Endpoint to install a library.

    Args:
        library: The library to install

    Returns:
        A success message
    
src/upsonic/tools_server/server/tools.py