File size: 245 Bytes
f04d051
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
class Tool:
    name = ""
    description = ""
    inputs = {}
    output_type = "string"

    def __init__(self, **kwargs):
        pass

    def forward(self, **kwargs):
        raise NotImplementedError("Tool must implement forward method.")