from abc import ABC, abstractmethod
from typing import Any, Dict
from swarmauri.core.tools.ITool import ITool
[docs]
class ISchemaConvert(ABC):
[docs]
@abstractmethod
def convert(self, tool: ITool) -> Dict[str, Any]:
raise NotImplementedError("Subclasses must implement the convert method.")