add durability to item

execute as @a[nbt={Inventory:[{id:"minecraft:jigsaw",Slot:-106b}]}] run say works execute as @a[nbt={Inventory:[{id:"minecraft:jigsaw",Slot:-106b}]}] run data merge entity @s {SelectedItem:{tag:{Damage:0}}}

here is what i have tried. It does say "works" but it doesnt repair the item, if this isnt possible is it possible to modify the other to be unbreakable? like the unbreakable tag

Continue to help post