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
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | No | Optional ID of the device where the process is running. Uses smart selection when omitted. | |
| pid | Yes | The ID of the process to resume. |
Implementation Reference
- src/frida_mcp/cli.py:394-414 (handler)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)}")