It`s likely the coolant inlet stub on the cylinder head, near the right hand plug (if sitting on the bike).
Barstard things corrode like mad, just mild steel, Yamaha have got some greenish coating on them (some kind of chemical blacking, manganese phosphating or similar) that`s meant to resist corrosion but it`s pretty shite really.
I had a huge problem getting mine out of the head after I discovered how pickled it was.The steel and aluminium create that nightmare situation often found with dissimilar metals, the electrolytic corrosion that occurs is a MF to shift.
I ended up snapping it off completely then utilised a 1/2" drive extension pushed into the broken portion still in the head, lots of easing it backwards and forwards, lots of diesel to help free it,(great for freeing corroded and seized things) then lastly an old pair of Mole grips were used to grip it and they were tapped with a hammer to persuade it out!
Took the best part of an hour or more to shift it though.
It`s secured by a 6mm cap screw (allen headed) also steel, so that tends to seize as well, (I replaced the steel cap screw with a stainless one).
Under the inlet stubs oval securing face is an o ring to provide the watertight/coolant seal.
About 20 mm or so of it actually fits into a recess in the cylinder head and it is this portion that corrodes itself into the aluminium.
My guess is that the technician knows this, so is hoping to patch the pipe up, it`s not likely to be very successful over the long term. If that stub is corroded and holed it`s by far best to replace it or it`ll only be a matter of time before it leaks again.
I was lucky, managed to get one from a broken bike in VERY good condition, covered it in black Smoothrite, baked the paint hard in my oven at 100 degrees overnight (interesting smell)

and now hope never to be troubled by it corroding again.
As for getting one from Yamaha, from memory it was around 26 quid, which is extortionate for three inches of mild steel, 14 mm or so bore pipe with a flange on one end.

My advice, get that mechanic/technician to replace it, you`ll just have problems in the future if you don`t.
