Skip to main content
Glama

resume_process

Resume a suspended process by its process ID using Frida MCP server, enabling continued execution of mobile and desktop applications for runtime analysis.

Instructions

Resume a process by ID.

Returns: Status information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idNoOptional ID of the device where the process is running. Uses smart selection when omitted.
pidYesThe ID of the process to resume.

Implementation Reference

  • The main handler implementation for the 'resume_process' tool. It uses @mcp.tool() decorator for registration and schema definition via Pydantic Fields. Resolves the target device using _resolve_device_or_raise, calls Frida's device.resume(pid), and returns success or raises ValueError on failure.
    @mcp.tool() def resume_process( pid: int = Field(description="The ID of the process to resume."), device_id: Optional[str] = Field( default=None, description="Optional ID of the device where the process is running. Uses smart selection when omitted.", ), ) -> Dict[str, Any]: """Resume a process by ID. Returns: Status information """ try: device = _resolve_device_or_raise(device_id) device.resume(pid) return {"success": True, "pid": pid} except Exception as e: raise ValueError(f"Failed to resume process {pid}: {str(e)}")

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