How to eat a monster


I want to create a character that kills enemies by eating them, but I’m not sure how to make it work, I know that I need a race like a kobold, But I’m not sure which class and which abilities, I’m willing to try anything.