From Wikipedia, just FYI:
Plant toxicity
Like many other nightshades, tomato leaves and stems contain atropine and other tropane alkaloids that are toxic if ingested. Ripened fruit does not contain these compounds[citation needed]. Leaves, stems, and green unripe fruit of the tomato plant contain small amounts of the poisonous alkaloid tomatine.[32] Use of tomato leaves in tea (tisane) has been responsible for at least one death.[33] However, levels of tomatine are generally too small to be dangerous.[32][34]
Tomato plants can be toxic to dogs if they eat large amounts of the fruit, or chew plant material.[35]
Oh no. Don't tell Max. He LOVES tomatoes and eats the cherry size right off the vine.