def list_event_titles()

in answers/task_agentic_retrieval/tools.py [0:0]


def list_event_titles() -> str:
    """List all event titles from the PyData schedule. Sorted by starting datetime.

    Returns:
        str: A list of all event titles from the schedule. Sorted by starting datetime.
    """
    schedule = get_schedule(out_format="dict")
    titles = [event["title"] for event in schedule]
    return json.dumps(titles, indent=4)