def create_collection(self, name, description=""):
        """Create a new collection with the given name and description."""
        if not name:
            raise ValueError("Collection name is required to create a collection.")

        try:
            new_collection = self.conn.create_collection(name, description)
            return {
                "success": True,
                "message": f"Collection '{new_collection.id}' created successfully",
                "collection": {
                    "id": new_collection.id,
                    "name": new_collection.name,
                    "description": new_collection.description,
                },
            }
        except Exception as e:
            logging.error(f"Failed to create collection '{name}': {e}")
            raise Exception(f"Failed to create collection '{name}': {str(e)}") from e
Create a new collection with the given name and description.
backend/director/tools/videodb_tool.py