To keep squirrels away from your tomato plants as well as your other plants you could install a cage around them that has a top on it to prevent the squirrels and other animals from getting to your plants.
You can buy the plant cages online or even make your own.