How is the action of oxycodone? One of a class of medications known as opioids, or narcotics, is oxycodone. It functions by preventing pain signals from the brain and central nervous system from reaching the body's other organs. It also lessens tension and anxiety brought on physical discomfort.