While tomatoes are technically a fruit, you can have them on a keto diet, but again be careful as their carbs are a bit higher and, combined with other foods, may take you up over 20 grams net carbs a day if you consume too much, Are tomatoes Keto?, Sell Turnips Guide