What is the meaning of Capriccio?

A sudden and unexpected or fantastic motion; a caper (from same etymology, see below); a gambol; a prank, a trick.

A fantastical thing or work.

A type of Renaissance landscape painting that places particular works of architecture in an unusual and often fictional setting.

A piece of music, usually fairly free in form and of a lively character.

capriccio

whim, fancy, caprice, quirk

tantrum

capriccio

capriccio

Source: wiktionary.org