This spell repairs a break or crack on an object you touch, such as repairing a broken chain, or a key that has been broken in half, a torn cloak, a leaked wine bag, etc. As long as the damage or fracture does not exceed 1 foot in any direction, you can repair it without leaving a trace.

Mending 5e

Level: Cantrip

Classes: Sorcerer, Druid, Cleric, Wizard, Bard

Casting Time: 1 minute

Range: Touch

Components: V, S, M

Duration: Instantaneous

This spell can physically repair a magic item or a construct, but it will not restore the magic on such objects.