The song with a Roud Folk Song Index number of 5249 is played by a toy with what type of figure inside?
Jack-in-the-box:  At the end of the tune there is a "surprise": the lid pops open and a figure, usually a clown or jester, pops out of the box. Pop Goes the Weasel:  It has a Roud Folk Song Index number of 5249.
clown or jester