get_full_analysis_result
Retrieve comprehensive security analysis results for a submitted file using its hash to assess potential threats and malware detection status.
Instructions
Get full analysis results for a file that was submitted via the web portal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_hash | Yes |
Input Schema (JSON Schema)
{
"properties": {
"file_hash": {
"title": "File Hash",
"type": "string"
}
},
"required": [
"file_hash"
],
"type": "object"
}
Implementation Reference
- opentip-mcp/opentip.py:182-190 (handler)The main handler function for the 'get_full_analysis_result' tool. It takes a file_hash parameter and makes a POST request to the OpenTIP API's 'getresult/file' endpoint to retrieve full analysis results.async def get_full_analysis_result(file_hash: str) -> dict[str, Any] | None: """Get full analysis results for a file that was submitted via the web portal. Args: file_hash: The hash of the file that you want to get analysis results for. """ params = {"request": file_hash} return await opentip_request(Endpoints.get_analysis_results, "post", params)
- opentip-mcp/opentip.py:174-181 (registration)The @mcp.tool decorator registers the 'get_full_analysis_result' function as an MCP tool with description and annotations.@mcp.tool( description="Get full analysis results for a file that was submitted via the web portal.", annotations=ToolAnnotations( title="Get full analysis results for a file", readOnlyHint=True, openWorldHint=True, ), )