Don't know if I understand you correctly, but theese methods aren't meant to move items in and out of the robot's inventory, but get info about them, for example: "Does slot 5 of your inventory contain 43x Redstone Dust?"