get_sample_metafield
Retrieve sandbox configuration metadata for malware analysis to support threat investigation and security testing.
Instructions
Get sample metafield configuration for sandbox analysis.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sample_metafield"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/threatzone_mcp/server.py:131-134 (handler)The main handler function for the 'get_sample_metafield' tool. It is decorated with @app.tool, which registers it in the FastMCP server. The function retrieves sample metafield configuration from the ThreatZone API endpoint.
@app.tool async def get_sample_metafield() -> Dict[str, Any]: """Get sample metafield configuration for sandbox analysis.""" return await get_client().get("/public-api/constants/samplemetafield")