check_installation
Verify Frida installation and functionality for game hacking tools, returning status and version details to ensure proper setup.
Instructions
Check if Frida is installed and working.
Returns:
Installation status and version information.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The primary handler function for the 'check_installation' tool. It verifies if Frida is installed, retrieves the version, checks device availability, and returns a status dictionary.@mcp.tool() def check_installation() -> Dict[str, Any]: """ Check if Frida is installed and working. Returns: Installation status and version information. """ result = { "tool": "frida", "installed": FRIDA_AVAILABLE, "installation": "pip install frida frida-tools" } if FRIDA_AVAILABLE: result["frida_version"] = frida.__version__ result["working"] = True try: device = get_device() result["device"] = device.name result["device_type"] = device.type except Exception as e: result["device_error"] = str(e) else: result["working"] = False result["error"] = "Frida not installed" return result