get_metafields
Retrieve available metafields to configure malware analysis scans for files and URLs using Threat.Zone's security tools.
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 handler function for the 'get_metafields' tool. It is decorated with @app.tool, which registers it as an MCP tool. The function fetches available metafields from the ThreatZone API 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")