get_team
Retrieve detailed information about a specific team by providing its unique ID within the Devici security management system.
Instructions
Get a specific team by ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes |
Implementation Reference
- src/devici_mcp_server/server.py:204-210 (handler)MCP tool handler for 'get_team': decorated with @mcp.tool(), creates API client context, calls client.get_team(team_id), and returns stringified result.@mcp.tool() async def get_team(team_id: str) -> str: """Get a specific team by ID""" async with create_client_from_env() as client: result = await client.get_team(team_id) return str(result)
- API client helper method implementing the core logic: makes authenticated GET request to /teams/{team_id} endpoint.async def get_team(self, team_id: str) -> Dict[str, Any]: """Get specific team by ID.""" return await self._make_request("GET", f"/teams/{team_id}")
- src/devici_mcp_server/server.py:204-210 (registration)The @mcp.tool() decorator registers this function as the 'get_team' MCP tool.@mcp.tool() async def get_team(team_id: str) -> str: """Get a specific team by ID""" async with create_client_from_env() as client: result = await client.get_team(team_id) return str(result)