get_levels
Retrieve threat level classifications used in malware analysis results to understand security risk assessments.
Instructions
Get threat levels used in analysis results.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/threatzone_mcp/server.py:119-122 (handler)The handler function for the 'get_levels' tool. It is decorated with @app.tool, which registers it in the FastMCP server. The function fetches and returns the threat levels from the ThreatZone API endpoint.@app.tool async def get_levels() -> Dict[str, Any]: """Get threat levels used in analysis results.""" return await get_client().get("/public-api/constants/levels")