To quote about their diet:
"most lumbrinerids are carnivores on both sessile and motile prey, with a few herbivorous and subsurface deposit-feeding exceptions"*
The carnivorous ones tend to eat things like bivalves, snails, other worms, brittle starfish, and occasionally Heart Urchins (Spatangoida). The herbivorous ones feed on diatoms, sea grass, etc.
*Source:
Diet of Worms Emended: An Update of Polychaete Feeding Guilds - Appendix A - Family-by-Family Review
(The paper)
https://www.annualreviews.org/content/journals/10.1146/annurev-marine-010814-020007 (The link you can download the Appendix from)
Polychaetes are common in most marine habitats and dominate many infaunal communities. Functional guild classification based on taxonomic identity and morphology has linked community structure to ecological function. The functional guilds now include osmotrophic siboglinids as well as...
www.annualreviews.org