How to Use the ReplaceItem Command in Minecraft
You can use the /replaceitem command to instanty replace one item with another item. You can replace armor items worn, weapons held in your hands, items stored ...
digminecraft.com