AlfredAgent / tools /list_occasions.py
ruaultadrienperso's picture
Upload agent
2554bf7 verified
raw
history blame contribute delete
352 Bytes
from smolagents import Tool
from typing import Any, Optional
class SimpleTool(Tool):
name = "list_occasions"
description = "Lists the available occasions."
inputs = {}
output_type = "string"
def forward(self) -> str:
"""
Lists the available occasions.
"""
return "casual, formal, superhero, custom"