Assisted. Partly responsible. Helped to perform, but not solely responsible. ‘Hand’ is used in the sense of workmanship and this phrase implies more than one person was active in an endeavor.
“Son, did you have a hand in the neighbor’s broken window?”