While you will certainly need to pick up bags when transiting in YYZ to US, I don't believe this is the procedure for other international connections. If returning on the opposite route, bags should be transferred automatically to international destination. You should only have to pick up bags in YYZ if terminating in Canada or the US - at least, that's been the way in T1 for at least some years now.