Skip to main content
Glama

get_local_device

Retrieve local device information for mobile and desktop applications using Frida's dynamic instrumentation capabilities. Supports process management, device control, and runtime analysis.

Instructions

Get the local device.

Returns: Information about the local device

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler implementation for 'get_local_device'. Directly calls frida.get_local_device() to retrieve and return the local device's id, name, and type, or raises ValueError if not available.
    @mcp.tool() def get_local_device() -> Dict[str, Any]: """Get the local device. Returns: Information about the local device """ try: device = frida.get_local_device() return { "id": device.id, "name": device.name, "type": device.type, } except frida.InvalidArgumentError: # Or other relevant Frida exceptions raise ValueError("No local device found or error accessing it.")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rmorgans/frida-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server