Use an anvil and combine the damaged tool with the same tool type
Use an anvil and combine the tool with the matching material if applicable
Use a grindstone to remove enchantments and repair by combining items if needed
Craft two damaged tools of the same type together in the crafting grid to make one repaired tool
Use the Mending enchantment and collect experience orbs to repair the tool
Use the tool’s repair material in the crafting grid if the tool type supports it
Use commands in Creative mode to replace the tool if allowed
