How do you get the citric acid from the tomato leaves?
If it’s citric acid you’re after, eat the tomato, which has more, and toss the leaves. There’s very little in them, and they contain tomatine, which can irritate the intestinal tract and nervous system. Tomatoes, potatoes, and peppers are members of the nightshade family, and most parts of the plant other than the fruit (or tuber) are toxic to some degree.