What does cantrip mean?

cantrip meaning in Etymology Dictionary

"magical spell," 1719, a Scottish word of unsure origin; despite much conjecture it really is not clear even where word is divided, whether or not the 2nd element is rope (maybe a reference to knotted cords as magical devices) or trappa "one step" or other thing.

cantrip meaning in General Dictionary

A charm; an incantation; a shell; a trick; adroit mischief.