almaze-api/tools/agent/list_available_agents.py

8 lines
221 B
Python
Raw Permalink Normal View History

2025-02-11 23:14:01 +05:30
from typing import List
from langchain_core.tools import tool
from utils import all_agents
@tool
def list_available_agents() -> List[str]:
"""List all available agents in the system."""
return all_agents()