open-swe/agent/tools/linear_list_teams.py

14 lines
314 B
Python
Raw Normal View History

import asyncio
from typing import Any
from ..utils.linear import list_teams
def linear_list_teams() -> dict[str, Any]:
"""List all teams in the Linear workspace.
Returns:
Dictionary with 'teams' list, each containing id, name, key, and description.
"""
return asyncio.run(list_teams())