The problem here is that you may not always have an appropriate toy available. This is where click training can really help. Clicks can be made with easily available clicker devices from pet stores.
The idea is that the cat will learn to associate the sound of the click with a positive reward.
Of course it will take a little while for your cat to learn this connection, but it can be done. You need to start the click training slowly but consistently. Start by matching the sound of the click with a reward. The reward should be one of your cat’s favorite treats.