get_team
Retrieve detailed information about a specific team using its unique identifier. This tool helps access team data from the Devici threat modeling platform for management purposes.
Instructions
Get a specific team by ID
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"team_id": "<team_id>"
},
"name": "get_team"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/devici_mcp_server/server.py:204-209 (handler)MCP tool handler for 'get_team': decorated with @mcp.tool(), fetches team data via API client and returns as string.
@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 method implementing the HTTP GET request to retrieve a specific team by ID from the Devici API.
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}")