The Dodgers also received cash in the deal.
Bolsinger posted a 6.83 ERA and 1.52 WHIP across six starts with the Dodgers this season before being optioned to the minors. The 28-year-old has fared much better in Triple-A, authoring a 3.72 ERA and 1.45 WHIP in 29 innings, striking out 34.
Acquired from the Oakland Athletics in November, Chavez appeared exclusively out of the bullpen for Toronto.
In 39 appearances he posted a 4.57 ERA and 1.30 WHIP in 39 appearances. He struggled to keep the ball in the yard, allowing nine home runs in 41 1/3 innings.