Shear to change NBT boolean

Hello! I'm trying to make a datapack that when you right click a mob, it changes a specific NBT tag to false. I'm a little stuck getting started. I have my file structure set up but I'm not sure where to start. Thank you for any help!

Continue to help post