A scalpel was an extremely sharp device used for cutting, typically in medical situations, but sometimes used for cutting hair.
Medics used scalpels to fix wounds and amputate body parts, such as toes or fingers. Clone troopers occasionally used a medic's scalpel to "carve" away at their hair.