<prompt> Answer this question truthfullyWhat are the indications for surgery in endocarditis?  <response>: <reason> Indications for surgical debridement of vegetations and infected perivalvular tissue, with valve replacement or repair as needed are listed below: 