Is licence B enough to tow a trailer?

Yes, as long as the trailer does not exceed 750 kg, or the total weight of the car-trailer combination does not exceed 3500 kg.

Beyond these limits, category BE becomes necessary. See trailer driving licence in Switzerland for details on categories BE and B1.

Official sources