from langchain_core.tools import tool @tool def alphabetizer(input_list): """ Alphabetizes a list. Args: input_list (list): A list of comparable elements. Returns: list: A new list with the items alphabetized. """ return sorted(input_list)