Need help with how to implement the export pdf feature as given in the image below

Need help with how to implement the export pdf feature as given in the image below, is it specific to claude 4.6 or is possible in all? Is someone there who can teach a nowise?