What is to invent, or provide, offhand, or on the spur of the moment; as, he improvised a hammer out of a stone called?

improvise — To invent, or provide, offhand, or on the spur of the moment; as, he improvised a hammer out of a stone. (Webster's 1913.)

Sources