get_metafields
Retrieve available metafields to configure malware analysis scans, enabling proper setup of file and URL analysis parameters for threat detection.
Instructions
Get available metafields for scan configuration.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/threatzone_mcp/server.py:113-116 (handler)The main handler function for the 'get_metafields' tool. It is registered via the @app.tool decorator and fetches available metafields from the ThreatZone API endpoint using the shared API client.@app.tool async def get_metafields() -> Dict[str, Any]: """Get available metafields for scan configuration.""" return await get_client().get("/public-api/constants/metafields")