almaze-api/tools/agent/list_available_agents.py
2025-02-11 23:14:01 +05:30

8 lines
221 B
Python

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()