If you can get the triangle (I’m not sure how you would, but I’m sure you can) that gives you the 3 vertices that make it up. So to scale it, you would just then move those vertices towards or away from their average position.
So triangle[6] may be equal to {0, 2, 3}. 0, 2, 3 being the index of the vertices.
Now that you have 0 2 3, you can get their average position by adding their Vector3 together, and dividing by 3. That Vector 3 is (roughly) center of the triangle. Then you can lerp the vertices towards it to make the face smaller (scale down) or away from it to make the face larger (scale up).
There’s a bit more to it than this, like I think you need to override the current mesh every frame to see it happen in real-time, but the functionality is this. Get the face, get the vertices, get the center position, move vertices.
Here’s Unity’s documentation on Meshes for further reading: https://docs.unity3d.com/ScriptReference/Mesh.html