Thermocouple? Yes that sounds about right. It's a bullet-shaped probe that pushes into the pilot-light housing and the other end has a gland nut where it enters the gas-valve(?) housing.
I'll be relieved if it's a universal design. We're due to replace the whole boiler system - but not just yet...