There's no rail line to Tossa del Mar, so rail travellers have alight at Blanes and catch a bus.
Alternatively, Sarbus operate from Barcelona's Estacio del Nord, at these times each day: 0815, 1030, 1200, 1415, 1515, 1700 (not Sundays), 1730, 1830, 1930, 2000, 2100. The journey time is 1 hour 20 minutes.