The Toronto Raptors have agreed to a partially guaranteed one-year deal with unrestricted free agent K.J. McDaniels, league sources told ESPN's Adrian Wojnarowski.

The 24-year-old swingman split time with the Houston Rockets and Brooklyn Nets this past season, averaging 4.2 points, 1.7 rebounds, and 0.4 steals on 45.6 percent shooting.

Chosen with the 32nd pick in the 2014 draft, McDaniels has struggled to hold down a regular role, averaging 14.1 minutes per game during his NBA career.