File size: 317 Bytes
9e3d618
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from abc import ABC, abstractmethod  #

class Tool(ABC):
    @abstractmethod
    def run(self, input_data: dict) -> dict:
        """Execute the tool and return structured results"""
        pass

    @abstractmethod
    def name(self) -> str:
        """Return a unique name for the tool"""
        pass