get_dashboard_types
Retrieve available chart types for creating dashboards in the Devici security platform to visualize threat models and security data.
Instructions
Get available dashboard chart types
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/devici_mcp_server/server.py:213-219 (handler)MCP tool handler for 'get_dashboard_types'. This is the function registered as the tool that executes the logic by calling the API client and converting the result to a string.@mcp.tool() async def get_dashboard_types() -> str: """Get available dashboard chart types""" async with create_client_from_env() as client: result = await client.get_dashboard_types() return str(result)
- Helper method in the Devici API client class that performs the actual API call to retrieve dashboard types via GET /dashboard/types.async def get_dashboard_types(self) -> List[str]: """Get dashboard chart types.""" return await self._make_request("GET", "/dashboard/types")