File size: 328 Bytes
b33d6d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from typing import List

class Tool:
    description: str = ""
    name: str = ""

    inputs: List[str] = ""
    outputs: List[str] = ""

    def __init__(self, *args, **kwargs):
        pass

    def __call__(self, *args, **kwargs):
        args = [arg for arg in args]
        kwargs = {k: v for k, v in kwargs.items()}