resume_process
Resume a paused process by specifying its ID, enabling continued execution for debugging or analysis within the Frida MCP server environment.
Instructions
Resume a process by ID.
Returns:
Status information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | The ID of the process to resume. | |
| device_id | No | Optional ID of the device where the process is running. Uses smart selection when omitted. |
Implementation Reference
- src/frida_mcp/cli.py:394-413 (handler)The main handler function for the 'resume_process' tool, decorated with @mcp.tool() for registration. It resolves the device, calls device.resume(pid), and returns success status or raises an error.@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)}")