<prompt> Answer this question truthfullyWhich test or imaging study is typically used to diagnose esophageal cancer?  <response>: <reason> The test or imaging study that is commonly used to diagnose esophageal cancer is endoscopy with biopsy. 