What is any agent that produces, or tends to produce, sleep; an opiate; a soporific; a narcotic called?

hypnotic — Any agent that produces, or tends to produce, sleep; an opiate; a soporific; a narcotic. (Webster's 1913.)

Sources