Find the word definition

Wiktionary
cut a caper

vb. To frolic or romp; to dance about in a frantic or ridiculous manner.