get_user_info
Retrieve current user account details, workspace information, and usage limits from the Threat.Zone MCP Server for managing malware analysis access and monitoring resource allocation.
Instructions
Get current user information, workspace details, and usage limits.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/threatzone_mcp/server.py:202-205 (handler)The main handler function for the 'get_user_info' tool. It is decorated with @app.tool, which registers it as an MCP tool. The function retrieves current user information, workspace details, and usage limits by calling the ThreatZone API endpoint '/public-api/me' via the shared API client.@app.tool async def get_user_info() -> Dict[str, Any]: """Get current user information, workspace details, and usage limits.""" return await get_client().get("/public-api/me")