from agents import Tool class GetCurrentTime(Tool): name = "get_current_time" description = "Gets the current time." inputs = {"useless":{"type":"number","description":"this arg is fckin useless"}} output_type = "string" def forward(self, useless: float) -> str: """ Gets the current time. Args: useless: this arg is fckin useless """ from datetime import datetime return datetime.now().strftime("%d/%m/%Y, %H:%M:%S")