async def list_tools(self) -> Any:
        """List available tools from the server.

        Returns:
            A list of available tools.

        Raises:
            RuntimeError: If the server is not initialized.
        """
        if not self.session:
            raise RuntimeError(f"SSE Server {self.name} not initialized")

        return await self.session.list_tools()
List available tools from the server.

        Returns:
            A list of available tools.

        Raises:
            RuntimeError: If the server is not initialized.
        
src/upsonic/tools_server/server/tools.py