A 41-year-old woman presents to the GP with intermenstrual bleeding and a watery vaginal discharge for 6 weeks. She has a BMI of 22 kg/m² and no significant medical history. A pelvic ultrasound shows an endometrial thickness of 14 mm with an irregular endometrial-myometrial border. Which is the single most appropriate action?